struct PanelTransform

robot_2Generated
code_blocksInput

Description

The PanelTransform struct in the Sandbox.UI namespace provides a set of methods and properties to manipulate and apply transformations to UI panels. It supports operations such as translation, scaling, rotation, skewing, and perspective transformations.

Members

Instance Members

Member Name Summary
BuildTransform Builds a transformation matrix based on the specified width, height, and perspective origin.
IsEmpty Returns true if this transform is empty.
AddTranslate Adds a translation transformation using the specified lengths for X, Y, and Z axes.
AddTranslateX Adds a translation transformation along the X axis.
AddTranslateY Adds a translation transformation along the Y axis.
AddTranslateZ Adds a translation transformation along the Z axis.
AddScale Adds a scaling transformation. Can be applied uniformly or with a vector for non-uniform scaling.
AddSkew Adds a skew transformation using the specified angles for X, Y, and Z axes.
AddRotation Adds a rotation transformation using the specified angles or a vector.
AddMatrix3D Adds a 3D matrix transformation.
AddPerspective Adds a perspective transformation using the specified depth.
Entries Gets the number of transformation entries.
List Gets the list of transformation entries.