Click or drag to resize

MoveOriginMoveOriginTo Method (Visual, Matrix)

Transform the origin of the visual so it becomes the matrix relative to the visuals parent

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

Parameters

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