VisualTransformFromWorld Method |
Transform a world coordinate to a local coordinate
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic Vector3 TransformFromWorld(
Vector3 worldPos
)
Parameters
- worldPos
- Type: Microsoft.DirectXVector3
World position relative to the Scene.
Return Value
Type:
Vector3Local position relative to the Visual.
See Also