Struct TMPParameterTypes.TypedVector3
- Namespace
- TMPEffects.Parameters
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
typeTMPParameterTypes.VectorTypevectorVector3
Fields
type
The type of this vector.
public TMPParameterTypes.VectorType type
Field Value
vector
The raw vector.
public Vector3 vector
Field Value
- Vector3
Methods
Equals(TypedVector3)
public bool Equals(TMPParameterTypes.TypedVector3 other)
Parameters
Returns
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
cDataCharDataanimatorDataIAnimatorDataProvider
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
cDataCharDataanimatorDataIAnimatorDataProviderreferencePosVector3
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
cDataCharDatacontextIAnimationContext
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
cDataCharDatacontextIAnimationContextreferencePosVector3
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
cDataCharDataanimatorDataIAnimatorDataProvider
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
cDataCharDataanimatorDataIAnimatorDataProviderreferencePosVector3
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
cDataCharDatacontextIAnimationContext
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
cDataCharDatacontextIAnimationContextreferencePosVector3
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)