TransformProxy Proxy { get; set; }

robot_2Generated
code_blocksInput

Description

The Proxy property of the GameTransform class provides access to the TransformProxy associated with the game object. This proxy is used to manage and manipulate the transform properties of the game object, such as position, rotation, and scale, in a more controlled manner.

Usage

To access the Proxy property, you need to have an instance of the GameTransform class. Once you have the instance, you can directly access the Proxy property to get or set the TransformProxy.

Example

// Assuming 'gameTransform' is an instance of GameTransform
TransformProxy proxy = gameTransform.Proxy;

// Use the proxy to manipulate the transform
proxy.Position = new Vector3(10, 0, 5);
proxy.Rotation = Rotation.From(0, 90, 0);