C# Class Reactor.Content.Importer.RMeshProcessor

Inheritance: ModelProcessor
Mostra file Open project: reisergames/reactor-v1

Public Methods

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 data.

Protected Methods

Method Description
ProcessVertexChannel ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.GeometryContent geometry, int vertexChannelIndex, ContentProcessorContext context ) : void

Private Methods

Method Description
GenerateTangents ( Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent input, ContentProcessorContext context ) : void

Generates Tangent Data for a Mesh

Method Details

Process() public method

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

ProcessVertexChannel() protected method

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