| SrtTransformToParentDirection Method |
Converts a direction vector from local space to parent space.
Namespace: DigitalRune.Animation.CharacterAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public Vector3F ToParentDirection(
Vector3F localDirection
)
Public Function ToParentDirection (
localDirection As Vector3F
) As Vector3F
public:
Vector3F ToParentDirection(
Vector3F localDirection
)
member ToParentDirection :
localDirection : Vector3F -> Vector3F
Parameters
- localDirection
- Type: DigitalRune.Mathematics.AlgebraVector3F
The direction in local space.
Return Value
Type:
Vector3FThe direction in parent 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