Méthode | Description | |
---|---|---|
Add ( |
||
Add ( |
||
Begin ( Camera camera ) : void | ||
Begin ( Camera camera, Color color ) : void | ||
End ( ) : void | ||
GetInstance ( GraphicsDevice device ) : |
||
ModelRenderer ( GraphicsDevice device ) : System |
Méthode | Description | |
---|---|---|
DrawModelHardwareInstancing ( |
Efficiently draws several copies of a piece of geometry using hardware instancing.
|
|
DrawModelNoInstancing ( |
Draws several copies of a piece of geometry without using any special GPU instancing techniques at all. This just does a regular loop and issues several draw calls one after another.
|
|
DrawModels ( ) : void | ||
SetEffectParameters ( |
public Add ( |
||
model | ||
transform | Matrix | |
Résultat | void |
public Add ( |
||
model | ||
x | float | |
y | float | |
z | float | |
scale | float | |
rotation_x | float | |
rotation_y | float | |
rotation_z | float | |
Résultat | void |
public Begin ( Camera camera, Color color ) : void | ||
camera | Camera | |
color | Color | |
Résultat | void |
public static GetInstance ( GraphicsDevice device ) : |
||
device | GraphicsDevice | |
Résultat |
public ModelRenderer ( GraphicsDevice device ) : System | ||
device | GraphicsDevice | |
Résultat | System |