C# 클래스 Reactor.Content.Importer.RActorProcessor

상속: ModelProcessor
파일 보기 프로젝트 열기: reisergames/reactor-v1

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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 boneMap ) : AnimationClip

Converts an intermediate format content pipeline AnimationContent object to our runtime AnimationClip format.

ProcessAnimations ( AnimationContentDictionary animations, IList bones ) : AnimationClip>.Dictionary

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.

메소드 상세

ConvertMaterial() 보호된 메소드

Changes all the materials to use our skinned model effect.
protected ConvertMaterial ( MaterialContent material, ContentProcessorContext context ) : MaterialContent
material MaterialContent
context ContentProcessorContext
리턴 MaterialContent

Process() 공개 메소드

The main Process method converts an intermediate format content pipeline NodeContent tree to a ModelContent object with embedded tangent animation data.
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
리턴 Microsoft.Xna.Framework.Content.Pipeline.Processors.ModelContent

ProcessVertexChannel() 보호된 메소드

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
리턴 void