Свойство | Type | Description | |
---|---|---|---|
EnsureOcclusion | bool | ||
Mode | BillboardMode | ||
monstersTextures | List |
Méthode | Description | |
---|---|---|
Draw ( Matrix View, Matrix Projection, Vector3 Up, Vector3 Right ) : void |
This method renders the current state.
|
|
HPBillboardSystem ( GraphicsDevice graphicsDevice, Microsoft.Xna.Framework.Content.ContentManager content, Vector2 billboardSize, List |
||
drawBillboard ( int monsterId ) : void | ||
drawBillboards ( ) : void | ||
drawOpaquePixels ( ) : void | ||
drawTransparentPixels ( ) : void | ||
generateParticles ( ) : void | ||
getTexture ( int health ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
setEffectParameters ( Matrix View, Matrix Projection, Vector3 Up, Vector3 Right ) : void | ||
setTexture ( int j ) : void |
public Draw ( Matrix View, Matrix Projection, Vector3 Up, Vector3 Right ) : void | ||
View | Matrix | |
Projection | Matrix | |
Up | Vector3 | |
Right | Vector3 | |
Résultat | void |
public HPBillboardSystem ( GraphicsDevice graphicsDevice, Microsoft.Xna.Framework.Content.ContentManager content, Vector2 billboardSize, List |
||
graphicsDevice | GraphicsDevice | |
content | Microsoft.Xna.Framework.Content.ContentManager | |
billboardSize | Vector2 | |
monsters | List |
|
Résultat | System |
public drawBillboard ( int monsterId ) : void | ||
monsterId | int | |
Résultat | void |
public static getTexture ( int health ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
health | int | |
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
public setEffectParameters ( Matrix View, Matrix Projection, Vector3 Up, Vector3 Right ) : void | ||
View | Matrix | |
Projection | Matrix | |
Up | Vector3 | |
Right | Vector3 | |
Résultat | void |