SkinnedModelRenderer BoneMergeTarget { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The BoneMergeTarget property of the SkinnedModelRenderer class is used to specify another SkinnedModelRenderer instance that this renderer should merge its bones with. This is particularly useful when you want to combine multiple skinned models into a single cohesive unit, allowing them to share animations and transformations seamlessly.

Usage

To use the BoneMergeTarget property, assign it a reference to another SkinnedModelRenderer instance. This will enable bone merging between the two models, allowing them to share animations and transformations.

Example

// Assuming 'renderer1' and 'renderer2' are instances of SkinnedModelRenderer
renderer1.BoneMergeTarget = renderer2;