Click or drag to resize

MoveOriginMoveOriginCenter Method

Transform the origin of the visual so it is centered in the visual's bounding box, optionally iterating over children.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public static void MoveOriginCenter(
	Visual visual,
	bool includeChildren = false
)

Parameters

visual
Type: Demo3D.VisualsVisual
Visual to be transformed
includeChildren (Optional)
Type: SystemBoolean
Option to iterate over children
See Also