C# Class Indiefreaks.Xna.Rendering.Instancing.InstanceEntity

Represents one single instance of a mesh.
The World property can be used to move the instance. All other SunBurn properties aren't used
Inheritance: SceneEntity
Show file Open project: Indiefreaks/igf Class Usage Examples

Protected Methods

Method Description
InstanceEntity ( string name, int index, SceneObject sceneObject, Matrix transform ) : Microsoft.Xna.Framework

Creates a new instance of the InstanceEntity

Method Details

InstanceEntity() protected method

Creates a new instance of the InstanceEntity
protected InstanceEntity ( string name, int index, SceneObject sceneObject, Matrix transform ) : Microsoft.Xna.Framework
name string The name of the instance
index int The index used in the SceneObject.SkinBones array
sceneObject SceneObject The SceneObject this instance pertains to
transform Microsoft.Xna.Framework.Matrix The matrix used to place the instance in the world
return Microsoft.Xna.Framework