C# Class UHSampleGame.InstancedModels.InstancedModel

Show file Open project: holtkampw/UH-Sample-XNA-Project

Public Methods

Method Description
Draw ( Matrix &transformMatrices, Microsoft.Xna.Framework.Graphics.SkinnedEffect &skinnedEffect ) : void
InstancedModel ( GraphicsDevice graphics ) : System
Setup ( Model model ) : void

Private Methods

Method Description
SetupInstancedVertexData ( ) : void

Method Details

Draw() public method

public Draw ( Matrix &transformMatrices, Microsoft.Xna.Framework.Graphics.SkinnedEffect &skinnedEffect ) : void
transformMatrices Matrix
skinnedEffect Microsoft.Xna.Framework.Graphics.SkinnedEffect
return void

InstancedModel() public method

public InstancedModel ( GraphicsDevice graphics ) : System
graphics GraphicsDevice
return System

Setup() public method

public Setup ( Model model ) : void
model Microsoft.Xna.Framework.Graphics.Model
return void