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

Splits a model up into parts based on a max bone count.
ファイルを表示 Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method 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

Method 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 method

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.
return System

Split() public method

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