| PoseDToLocalDirection 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 Vector3D ToLocalDirection(
Vector3D worldDirection
)
Public Function ToLocalDirection (
worldDirection As Vector3D
) As Vector3D
public:
Vector3D ToLocalDirection(
Vector3D worldDirection
)
member ToLocalDirection :
worldDirection : Vector3D -> Vector3D
Parameters
- worldDirection
- Type: DigitalRune.Mathematics.AlgebraVector3D
The direction vector in world space (or the parent space for nested coordinate spaces).
Return Value
Type:
Vector3DThe 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