Description
The MergeBones
method is used to merge the bone structure of the current SceneModel
with another specified SceneModel
. This can be useful when you want to combine animations or skeletal structures from different models into a single cohesive model.
Usage
To use the MergeBones
method, you need to have two SceneModel
instances. Call this method on the instance whose bones you want to merge with the bones of the specified parent
model.
Example
// Assume modelA and modelB are both instances of SceneModel
modelA.MergeBones(modelB);
// This will merge the bones of modelB into modelA, allowing modelA to use modelB's bone structure.