C# Class FlatRedBall.Graphics.Model.Animation.Content.ModelSplitter

Splits a model up into parts based on a max bone count.
Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Méthode Description
ModelSplitter ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent modelRoot, int maxBonesPerMesh ) : System

Creates a new ModelSplitter.

Split ( ) : bool

Splits the model meshes up based on the max number of bones.

Private Methods

Méthode Description
GetWeightChannel ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.GeometryContent geom ) : VertexChannel
Process ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent input ) : void
ProcessMesh ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.MeshContent mesh ) : void
ProcessNode ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent input ) : void

Method Details

ModelSplitter() public méthode

Creates a new ModelSplitter.
public ModelSplitter ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent modelRoot, int maxBonesPerMesh ) : System
modelRoot Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent The root of the model content.
maxBonesPerMesh int The maximum number of bones per mesh.
Résultat System

Split() public méthode

Splits the model meshes up based on the max number of bones.
public Split ( ) : bool
Résultat bool