string Angles { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Angles property of the BaseTransformAttribute class is a string that represents the internal name of the key used to store angles. This property allows the helper to be rotated by specifying the angles in which the transformation should occur.

Usage

Use the Angles property to define or retrieve the key name associated with the angles of a transformation. This is particularly useful when you need to manipulate or access the rotation data of a model helper within the Sandbox Model Editor.

Example

// Example of accessing the Angles property
BaseTransformAttribute transformAttribute = new BaseTransformAttribute();
string anglesKey = transformAttribute.Angles;

// Use anglesKey to perform operations related to rotation
// For example, setting the rotation of a model helper
SetRotation(anglesKey, new Rotation(45, 90, 0));