Click or drag to resize

MoveOriginMoveOriginTo Method (Visual, Vector3)

Transform the origin of the visual so it's position is the one provided relative to the visuals parent. The rotation will not be modified

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public static void MoveOriginTo(
	Visual visual,
	Vector3 position
)

Parameters

visual
Type: Demo3D.VisualsVisual
Visual to be transformed
position
Type: Microsoft.DirectXVector3
Desired position of the origin
See Also