Method | Description | |
---|---|---|
Process ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent input, ContentProcessorContext context ) : Microsoft.Xna.Framework.Content.Pipeline.Processors.ModelContent |
Processes a SkinnedModelImporter NodeContent root
|
Method | Description | |
---|---|---|
ProcessAnimation ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.AnimationContent animation ) : Microsoft.Xna.Framework.Content.Pipeline.Graphics.AnimationContent | ||
ProcessVertexChannel ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.GeometryContent geometry, int vertexChannelIndex, ContentProcessorContext context ) : void |
Go through the vertex channels in the geometry and replace the BoneWeightCollection objects with weight and index channels.
|
|
ReplaceBasicEffect ( SkinningType skinningType, Microsoft.Xna.Framework.Content.Pipeline.Processors.ModelMeshPartContent meshPart ) : void |
Called when a basic effect is encountered and potentially replaced by BasicPaletteEffect (if not overridden). This is called afer effects have been processed.
|
|
SubdivideAnimations ( AnimationContentDictionary animDict, |
Called when an XML document is read that specifies how animations should be split.
|
Method | Description | |
---|---|---|
CalculateAbsoluteTransforms ( Microsoft.Xna.Framework.Content.Pipeline.Processors.ModelBoneContent bone, Matrix transforms ) : void | ||
CreatePaletteIndices ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.MeshContent mesh ) : void | ||
FindAnimations ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent node ) : void |
Searches through the NodeContent tree for all animations and puts them in one AnimationContentDictionary
|
|
FindMeshes ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent root ) : void | ||
ProcessSkinInfo ( Microsoft.Xna.Framework.Content.Pipeline.Processors.ModelContent model ) : SkinInfoContentCollection[] | ||
ReadAnimationXML ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent root ) : |
||
ReplaceBasicEffects ( Microsoft.Xna.Framework.Content.Pipeline.Processors.ModelMeshContent input ) : void | ||
ValidateMeshSkeleton ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.MeshContent meshContent ) : bool |
public Process ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent input, ContentProcessorContext context ) : Microsoft.Xna.Framework.Content.Pipeline.Processors.ModelContent | ||
input | Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent | The root of the X file tree |
context | ContentProcessorContext | The context for this processor |
return | Microsoft.Xna.Framework.Content.Pipeline.Processors.ModelContent |
protected ProcessAnimation ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.AnimationContent animation ) : Microsoft.Xna.Framework.Content.Pipeline.Graphics.AnimationContent | ||
animation | Microsoft.Xna.Framework.Content.Pipeline.Graphics.AnimationContent | |
return | Microsoft.Xna.Framework.Content.Pipeline.Graphics.AnimationContent |
protected ProcessVertexChannel ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.GeometryContent geometry, int vertexChannelIndex, ContentProcessorContext context ) : void | ||
geometry | Microsoft.Xna.Framework.Content.Pipeline.Graphics.GeometryContent | The geometry to process. |
vertexChannelIndex | int | The index of the vertex channel to process. |
context | ContentProcessorContext | The processor context. |
return | void |
protected ReplaceBasicEffect ( SkinningType skinningType, Microsoft.Xna.Framework.Content.Pipeline.Processors.ModelMeshPartContent meshPart ) : void | ||
skinningType | SkinningType | The the skinning type of the meshpart. |
meshPart | Microsoft.Xna.Framework.Content.Pipeline.Processors.ModelMeshPartContent | The MeshPart that contains the BasicMaterialContent. |
return | void |
protected SubdivideAnimations ( AnimationContentDictionary animDict, |
||
animDict | AnimationContentDictionary | The dictionary of animation name/AnimationContent /// pairs. |
doc | The Xml document that contains info on how to split /// the animations. | |
return | void |