string Bone { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Bone property of the BaseTransformAttribute class represents the internal name of the key that specifies which bone should be used as the parent for position and angle transformations. This property is crucial for defining hierarchical relationships in model transformations, particularly when dealing with skeletal animations or rigged models.

Usage

To use the Bone property, you typically set it to the name of the bone you want to use as a reference for transformations. This is often done within the context of a model editor or when setting up a model's transformation attributes programmatically.

Example

// Example of setting the Bone property
BaseTransformAttribute transformAttribute = new BaseTransformAttribute();
transformAttribute.Bone = "spine_01"; // Set the bone to be used as the parent for transformations