Click or drag to resize

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
Syntax
C#
public Vector3 TransformFromWorld(
	Vector3 worldPos
)

Parameters

worldPos
Type: Microsoft.DirectXVector3
World position relative to the Scene.

Return Value

Type: Vector3
Local position relative to the Visual.
See Also