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 space.
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 space.
Use the Transform
property to get or set the transformation matrix of the gizmo. This is useful when you need to manipulate the gizmo's position, rotation, or scale programmatically.
// 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);