void ClearBoneOverrides()

robot_2Generated
code_blocksInput

Description

The ClearBoneOverrides method is a member of the SceneModel class in the Sandbox API. This method is used to remove all bone overrides that have been applied to the model. Bone overrides are typically used to modify the default transformations of bones in a model, allowing for custom animations or adjustments. By calling this method, any such custom transformations are cleared, and the bones revert to their default state.

Usage

To use the ClearBoneOverrides method, you must have an instance of the SceneModel class. Once you have this instance, you can call the method directly to clear any bone overrides that have been set.

Example

// Assuming 'model' is an instance of SceneModel
model.ClearBoneOverrides();

// This will reset all bone transformations to their default state.