| SrtTransformToLocalDirection Method |
Converts a direction vector from parent space to local space.
Namespace: DigitalRune.Animation.CharacterAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public Vector3F ToLocalDirection(
Vector3F worldDirection
)
Public Function ToLocalDirection (
worldDirection As Vector3F
) As Vector3F
public:
Vector3F ToLocalDirection(
Vector3F worldDirection
)
member ToLocalDirection :
worldDirection : Vector3F -> Vector3F
Parameters
- worldDirection
- Type: DigitalRune.Mathematics.AlgebraVector3F
The direction in parent space.
Return Value
Type:
Vector3FThe direction in local space.
Remarks
This method can be used to transform direction vectors. It applies only the rotation to the
vector. The scale and translation are ignored.
See Also