|
| | InstancedSprite (float width, float height, int instances) |
| | Sprite specialization which offer hardware accelerated instancing. Useful to render multiple mesh at time reducing draw call at minimum (ex. Particles, grasses, etc...) More...
|
| |
| void | SetPositionPerInstance (int instanceId, Vector2 position, bool uploadImmediatly=false) |
| | Set the position for the specified instance. More...
|
| |
| Vector2 | GetPositionPerInstance (int instanceId) |
| | Retrieve current position for the specified instance More...
|
| |
| void | UpdatePositionForAllInstances () |
| | Upload all the instance positions to the GPU. More...
|
| |
| void | SetScale (int instanceId, Vector2 scale, bool uploadImmediatly=false) |
| | Set the scaling for the specified instance. More...
|
| |
| Vector2 | GetScale (int instanceId) |
| | Retrieve the current scaling for the specified intance. More...
|
| |
| void | UpdateScaleForAllInstances () |
| | Upload all the instance scaling data to the GPU. More...
|
| |
| void | SetAdditiveTintPerInstance (int instanceId, Vector4 color, bool uploadImmediatly=false) |
| | Set the additive tint for the specified instance. More...
|
| |
| Vector4 | GetAdditiveTintPerInstance (int instanceId) |
| | Retrieve the current additive tint for the specified intance. More...
|
| |
| void | UpdateAdditiveTintForAllInstances () |
| | Upload all the instance additive tint data to the GPU. More...
|
| |
| void | SetMultiplyTintPerInstance (int instanceId, Vector4 color, bool uploadImmediatly=false) |
| | Set the multiply tint for the specified instance. More...
|
| |
| Vector4 | GetMultiplyTintPerInstance (int instanceId) |
| | Retrieve the current multiply tint for the specified intance. More...
|
| |
| void | UpdateMultiplyTintForAllInstances () |
| | Upload all the instance multiply tint data to the GPU. More...
|
| |
| override void | DrawWireframe (Vector4 color, float tickness=0.02f) |
| |
| | Sprite (float width, float height) |
| | Sprite class is a Quad (mesh made by two triangles) More...
|
| |
| void | SetAdditiveTint (int r, int g, int b, int a) |
| | Color tint added during Draw phase, after base color (or texture) and multiply tint. More...
|
| |
| void | SetAdditiveTint (float r, float g, float b, float a) |
| | Color tint added during Draw phase, after base color (or texture) and multiply tint. More...
|
| |
| void | SetAdditiveTint (Vector4 color) |
| | Color tint added during Draw phase, after base color (or texture) and multiply tint. More...
|
| |
| void | SetMultiplyTint (float r, float g, float b, float a) |
| | Color tint used as multiplier during Draw phase, after base color (or texture). More...
|
| |
| void | SetMultiplyTint (int r, int g, int b, int a) |
| | Color tint used as multiplier during Draw phase, after base color (or texture). More...
|
| |
| void | SetMultiplyTint (Vector4 color) |
| | Color tint added during Draw phase, after base color (or texture). More...
|
| |
| override void | DrawColor (Vector4 color) |
| | Draw the sprite filling it with this color More...
|
| |
| override void | DrawTexture (Texture tex) |
| | Draw the whole texture More...
|
| |
| void | DrawTexture (Texture tex, int xOffset, int yOffset) |
| | Draw a texture starting at specific offset to the full size of the texture More...
|
| |
| void | DrawTexture (Texture tex, int xOffset, int yOffset, int width, int height) |
| | Draw a texture starting at specific offset to a specific size More...
|
| |
| | Sprite (float width, float height) |
| | Sprite class is a Quad (mesh made by two triangles) More...
|
| |
| void | SetAdditiveTint (int r, int g, int b, int a) |
| | Color tint added during Draw phase, after base color (or texture) and multiply tint. More...
|
| |
| void | SetAdditiveTint (float r, float g, float b, float a) |
| | Color tint added during Draw phase, after base color (or texture) and multiply tint. More...
|
| |
| void | SetAdditiveTint (Vector4 color) |
| | Color tint added during Draw phase, after base color (or texture) and multiply tint. More...
|
| |
| void | SetMultiplyTint (float r, float g, float b, float a) |
| | Color tint used as multiplier during Draw phase, after base color (or texture). More...
|
| |
| void | SetMultiplyTint (int r, int g, int b, int a) |
| | Color tint used as multiplier during Draw phase, after base color (or texture). More...
|
| |
| void | SetMultiplyTint (Vector4 color) |
| | Color tint added during Draw phase, after base color (or texture). More...
|
| |
| override void | DrawColor (Vector4 color) |
| | Draw the sprite filling it with this color More...
|
| |
| override void | DrawTexture (Texture tex) |
| | Draw the whole texture More...
|
| |
| void | DrawTexture (Texture tex, int xOffset, int yOffset) |
| | Draw a texture starting at specific offset to the full size of the texture More...
|
| |
| void | DrawTexture (Texture tex, int xOffset, int yOffset, int width, int height) |
| | Draw a texture starting at specific offset to a specific size More...
|
| |
| override void | DrawWireframe (Vector4 color, float tickness=0.02F) |
| |
| delegate void | ShaderSetupHook (Mesh mesh) |
| |
| | Mesh (Shader shader=null, int numberOfAxis=2) |
| |
| void | Update () |
| |
| void | UpdateVertex () |
| |
| void | UpdateUV () |
| |
| void | UpdateVertexColor () |
| |
| void | Bind () |
| |
| virtual void | DrawTexture (int textureId) |
| |
| virtual void | DrawColor (float r, float g, float b, float a=1) |
| | Draw the sprite filling it with this color More...
|
| |
| void | DrawColor (int r, int g, int b, int a=255) |
| | Draw the sprite filling it with this color More...
|
| |
| void | DrawWireframe (float r, float g, float b, float a=1, float tickness=0.02f) |
| |
| void | DrawWireframe (int r, int g, int b, int a=255, float tickness=0.02f) |
| |
| void | Draw (ShaderSetupHook hook=null) |
| |
| void | DrawRenderTexture (RenderTexture rt) |
| | Allow to draw a RenderTexture object. More...
|
| |
| void | Dispose () |
| |