Table of Contents

Struct TMPParameterTypes.TypedVector3

A Vector3 with a TMPParameterTypes.VectorType.

[Serializable]
public struct TMPParameterTypes.TypedVector3
Inherited Members

Constructors

TypedVector3(VectorType, Vector3)

public TypedVector3(TMPParameterTypes.VectorType type, Vector3 vector)

Parameters

type TMPParameterTypes.VectorType
vector Vector3

Fields

type

The type of this vector.

public TMPParameterTypes.VectorType type

Field Value

TMPParameterTypes.VectorType

vector

The raw vector.

public Vector3 vector

Field Value

Vector3

Methods

Equals(TypedVector3)

public bool Equals(TMPParameterTypes.TypedVector3 other)

Parameters

other TMPParameterTypes.TypedVector3

Returns

bool

ToDelta(CharData, IAnimatorDataProvider)

Get the delta defined by this vector, using the cData's initial position as reference position.

public Vector3 ToDelta(CharData cData, IAnimatorDataProvider animatorData)

Parameters

cData CharData
animatorData IAnimatorDataProvider

Returns

Vector3

The delta defined by this vector and the cData's initial position.

ToDelta(CharData, IAnimatorDataProvider, Vector3)

Get the delta defined by this vector and the reference position.

public Vector3 ToDelta(CharData cData, IAnimatorDataProvider animatorData, Vector3 referencePos)

Parameters

cData CharData
animatorData IAnimatorDataProvider
referencePos Vector3

Returns

Vector3

The delta defined by this vector and the cData's initial position.

ToDelta(CharData, IAnimationContext)

Get the delta defined by this vector, using the cData's initial position as reference position.

public Vector3 ToDelta(CharData cData, IAnimationContext context)

Parameters

cData CharData
context IAnimationContext

Returns

Vector3

The delta defined by this vector and the cData's initial position.

ToDelta(CharData, IAnimationContext, Vector3)

Get the delta defined by this vector and the reference position.

public Vector3 ToDelta(CharData cData, IAnimationContext context, Vector3 referencePos)

Parameters

cData CharData
context IAnimationContext
referencePos Vector3

Returns

Vector3

The delta defined by this vector and the reference position.

ToPosition(CharData, IAnimatorDataProvider)

Get the position defined by this vector, using the cData's initial position as reference position.

public Vector3 ToPosition(CharData cData, IAnimatorDataProvider animatorData)

Parameters

cData CharData
animatorData IAnimatorDataProvider

Returns

Vector3

The position defined by this vector and the reference position.

ToPosition(CharData, IAnimatorDataProvider, Vector3)

Get the position defined by this vector and the reference position.

public Vector3 ToPosition(CharData cData, IAnimatorDataProvider animatorData, Vector3 referencePos)

Parameters

cData CharData
animatorData IAnimatorDataProvider
referencePos Vector3

Returns

Vector3

The position defined by this vector and the reference position.

ToPosition(CharData, IAnimationContext)

Get the position defined by this vector, using the cData's initial position as reference position.

public Vector3 ToPosition(CharData cData, IAnimationContext context)

Parameters

cData CharData
context IAnimationContext

Returns

Vector3

The position defined by this vector and the cData's initial position.

ToPosition(CharData, IAnimationContext, Vector3)

Get the position defined by this vector and the reference position.

public Vector3 ToPosition(CharData cData, IAnimationContext context, Vector3 referencePos)

Parameters

cData CharData
context IAnimationContext
referencePos Vector3

Returns

Vector3

The position defined by this vector and the reference position.

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

implicit operator TypedVector3(TypedVector2)

public static implicit operator TMPParameterTypes.TypedVector3(TMPParameterTypes.TypedVector2 v)

Parameters

v TMPParameterTypes.TypedVector2

Returns

TMPParameterTypes.TypedVector3