| PoseToLocalDirection Method |
Converts a direction vector from world space (or the parent space for nested coordinate
spaces) to local space.
Namespace: DigitalRune.GeometryAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.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 vector in world space (or the parent space for nested coordinate spaces).
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 translation is ignored.
See Also