Method | Description | |
---|---|---|
Draw ( Matrix viewMatrix, Matrix projectionMatrix, Vector3 cameraPosition, Vector3 cameraForward, Vector3 drawPosition, Vector3 drawHeading, float drawScale, Vector4 col ) : void | ||
DrawBillboard ( Matrix viewMatrix, Matrix projectionMatrix, Vector3 cameraPosition, Vector3 cameraForward, Vector3 drawPosition, Vector3 drawHeading, float drawScale ) : void | ||
DrawText ( Matrix viewMatrix, Matrix projectionMatrix, Vector3 drawPosition, string hoverText ) : void | ||
DrawText ( Matrix viewMatrix, Matrix projectionMatrix, Vector3 drawPosition, string hoverText, Color color ) : void | ||
GenerateVertices ( Vector3 cameraPosition, Vector3 drawPosition, Vector3 drawHeading, float drawScale ) : Microsoft.Xna.Framework.Graphics.VertexPositionTexture[] | ||
ParseAnimationScript ( string animationScript ) : List |
||
SetPassiveAnimation ( string animationScript ) : void | ||
SetSpriteTexture ( Microsoft.Xna.Framework.Graphics.Texture2D spriteTexture ) : void | ||
SpriteModel ( Microsoft.Xna.Framework.Game gameInstance, int numFrames ) : System | ||
StartActiveAnimation ( string animationScript ) : void | ||
Update ( |
Method | Description | |
---|---|---|
OnRaiseAnimationCallbackEvent ( |
public Draw ( Matrix viewMatrix, Matrix projectionMatrix, Vector3 cameraPosition, Vector3 cameraForward, Vector3 drawPosition, Vector3 drawHeading, float drawScale, Vector4 col ) : void | ||
viewMatrix | Matrix | |
projectionMatrix | Matrix | |
cameraPosition | Vector3 | |
cameraForward | Vector3 | |
drawPosition | Vector3 | |
drawHeading | Vector3 | |
drawScale | float | |
col | Vector4 | |
return | void |
public DrawBillboard ( Matrix viewMatrix, Matrix projectionMatrix, Vector3 cameraPosition, Vector3 cameraForward, Vector3 drawPosition, Vector3 drawHeading, float drawScale ) : void | ||
viewMatrix | Matrix | |
projectionMatrix | Matrix | |
cameraPosition | Vector3 | |
cameraForward | Vector3 | |
drawPosition | Vector3 | |
drawHeading | Vector3 | |
drawScale | float | |
return | void |
public DrawText ( Matrix viewMatrix, Matrix projectionMatrix, Vector3 drawPosition, string hoverText ) : void | ||
viewMatrix | Matrix | |
projectionMatrix | Matrix | |
drawPosition | Vector3 | |
hoverText | string | |
return | void |
public DrawText ( Matrix viewMatrix, Matrix projectionMatrix, Vector3 drawPosition, string hoverText, Color color ) : void | ||
viewMatrix | Matrix | |
projectionMatrix | Matrix | |
drawPosition | Vector3 | |
hoverText | string | |
color | Color | |
return | void |
public GenerateVertices ( Vector3 cameraPosition, Vector3 drawPosition, Vector3 drawHeading, float drawScale ) : Microsoft.Xna.Framework.Graphics.VertexPositionTexture[] | ||
cameraPosition | Vector3 | |
drawPosition | Vector3 | |
drawHeading | Vector3 | |
drawScale | float | |
return | Microsoft.Xna.Framework.Graphics.VertexPositionTexture[] |
protected OnRaiseAnimationCallbackEvent ( |
||
e | ||
return | void |
public ParseAnimationScript ( string animationScript ) : List |
||
animationScript | string | |
return | List |
public SetPassiveAnimation ( string animationScript ) : void | ||
animationScript | string | |
return | void |
public SetSpriteTexture ( Microsoft.Xna.Framework.Graphics.Texture2D spriteTexture ) : void | ||
spriteTexture | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | void |
public SpriteModel ( Microsoft.Xna.Framework.Game gameInstance, int numFrames ) : System | ||
gameInstance | Microsoft.Xna.Framework.Game | |
numFrames | int | |
return | System |
public StartActiveAnimation ( string animationScript ) : void | ||
animationScript | string | |
return | void |
public Update ( |
||
gameTime | ||
return | void |