Description
The Transform
property of the Gizmo
class provides access to the transformation matrix used by the gizmo. This matrix defines the position, rotation, and scale of the gizmo in the 3D world space. It is a static property, meaning it is shared across all instances of the Gizmo
class.
Usage
Use the Transform
property to get or set the transformation matrix of the gizmo. This can be useful for manipulating the gizmo's position, orientation, and scale in the scene.
Example
// Example of accessing the Transform property
Transform currentTransform = Gizmo.Transform;
// Example of setting a new Transform
Gizmo.Transform = new Transform(Vector3.Zero, Rotation.Identity, 1.0f);