Method | Description | |
---|---|---|
Process ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent input, ContentProcessorContext context ) : Microsoft.Xna.Framework.Content.Pipeline.Processors.ModelContent |
The main Process method converts an intermediate format content pipeline NodeContent tree to a ModelContent object with embedded tangent animation data.
|
Method | Description | |
---|---|---|
ConvertMaterial ( MaterialContent material, ContentProcessorContext context ) : MaterialContent |
Changes all the materials to use our skinned model effect.
|
|
ProcessVertexChannel ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.GeometryContent geometry, int vertexChannelIndex, ContentProcessorContext context ) : void |
Method | Description | |
---|---|---|
CompareKeyframeTimes ( Keyframe a, Keyframe b ) : int |
Comparison function for sorting keyframes into ascending time order.
|
|
FlattenTransforms ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent node, Microsoft.Xna.Framework.Content.Pipeline.Graphics.BoneContent skeleton ) : void |
Bakes unwanted transforms into the model geometry, so everything ends up in the same coordinate system.
|
|
GenerateTangents ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent input, ContentProcessorContext context ) : void |
Generates Tangent Data for a Mesh
|
|
MeshHasSkinning ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.MeshContent mesh ) : bool |
Checks whether a mesh contains skininng information.
|
|
ProcessAnimation ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.AnimationContent animation, int>.Dictionary |
Converts an intermediate format content pipeline AnimationContent object to our runtime AnimationClip format.
|
|
ProcessAnimations ( AnimationContentDictionary animations, IList |
Converts an intermediate format content pipeline AnimationContentDictionary object to our runtime AnimationClip format.
|
|
ValidateMesh ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent node, ContentProcessorContext context, string parentBoneName ) : void |
Makes sure this mesh contains the kind of data we know how to animate.
|
protected ConvertMaterial ( MaterialContent material, ContentProcessorContext context ) : MaterialContent | ||
material | MaterialContent | |
context | ContentProcessorContext | |
return | MaterialContent |
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 | |
context | ContentProcessorContext | |
return | Microsoft.Xna.Framework.Content.Pipeline.Processors.ModelContent |
protected ProcessVertexChannel ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.GeometryContent geometry, int vertexChannelIndex, ContentProcessorContext context ) : void | ||
geometry | Microsoft.Xna.Framework.Content.Pipeline.Graphics.GeometryContent | |
vertexChannelIndex | int | |
context | ContentProcessorContext | |
return | void |