|
| 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 (Texture tex) |
| |
| 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...
|
| |
| virtual void | DrawColor (Vector4 color) |
| | 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) |
| |
| virtual void | DrawWireframe (Vector4 color, float tickness=0.02f) |
| |
| void | Draw (ShaderSetupHook hook=null) |
| |
| void | DrawRenderTexture (RenderTexture rt) |
| | Allow to draw a RenderTexture object. More...
|
| |
| void | Dispose () |
| |
| Aiv.Fast2D.Mesh.Mesh |
( |
Shader |
shader = null, |
|
|
int |
numberOfAxis = 2 |
|
) |
| |
|
inline |
| virtual void Aiv.Fast2D.Mesh.ApplyMatrix |
( |
| ) |
|
|
inlineprotectedvirtual |
| void Aiv.Fast2D.Mesh.Bind |
( |
| ) |
|
|
inline |
| void Aiv.Fast2D.Mesh.Dispose |
( |
| ) |
|
|
inline |
| virtual void Aiv.Fast2D.Mesh.DrawColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a = 1 |
|
) |
| |
|
inlinevirtual |
Draw the sprite filling it with this color
- Parameters
-
| r | red channel in space [0.0, 1.0] |
| g | green channel in space [0.0, 1.0] |
| b | blue channelin space [0.0, 1.0] |
| a | alpha channel in space [0.0, 1.0] |
| void Aiv.Fast2D.Mesh.DrawColor |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b, |
|
|
int |
a = 255 |
|
) |
| |
|
inline |
Draw the sprite filling it with this color
- Parameters
-
| r | red channel in space [0, 255] |
| g | green channel in space [0, 255] |
| b | blue channelin space [0, 255] |
| a | alpha channel in space [0, 255] |
| virtual void Aiv.Fast2D.Mesh.DrawColor |
( |
Vector4 |
color | ) |
|
|
inlinevirtual |
Allow to draw a RenderTexture object.
- Parameters
-
| rt | the render texture to draw |
| virtual void Aiv.Fast2D.Mesh.DrawTexture |
( |
Texture |
tex | ) |
|
|
inlinevirtual |
| virtual void Aiv.Fast2D.Mesh.DrawTexture |
( |
int |
textureId | ) |
|
|
inlinevirtual |
| void Aiv.Fast2D.Mesh.DrawWireframe |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a = 1, |
|
|
float |
tickness = 0.02f |
|
) |
| |
|
inline |
| void Aiv.Fast2D.Mesh.DrawWireframe |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b, |
|
|
int |
a = 255, |
|
|
float |
tickness = 0.02f |
|
) |
| |
|
inline |
| virtual void Aiv.Fast2D.Mesh.DrawWireframe |
( |
Vector4 |
color, |
|
|
float |
tickness = 0.02f |
|
) |
| |
|
inlinevirtual |
| int Aiv.Fast2D.Mesh.NewFloatBuffer |
( |
int |
attribArrayId, |
|
|
int |
elementSize, |
|
|
float[] |
data, |
|
|
int |
divisor = 0 |
|
) |
| |
|
inlineprotected |
| delegate void Aiv.Fast2D.Mesh.ShaderSetupHook |
( |
Mesh |
mesh | ) |
|
| void Aiv.Fast2D.Mesh.Update |
( |
| ) |
|
|
inline |
| void Aiv.Fast2D.Mesh.UpdateFloatBuffer |
( |
int |
bufferId, |
|
|
float[] |
data, |
|
|
int |
offset = 0 |
|
) |
| |
|
inlineprotected |
| void Aiv.Fast2D.Mesh.UpdateUV |
( |
| ) |
|
|
inline |
| void Aiv.Fast2D.Mesh.UpdateVertex |
( |
| ) |
|
|
inline |
| void Aiv.Fast2D.Mesh.UpdateVertexColor |
( |
| ) |
|
|
inline |
| bool Aiv.Fast2D.Mesh.hasVertexColors |
| int Aiv.Fast2D.Mesh.instances |
|
protected |
| bool Aiv.Fast2D.Mesh.noMatrix |
| int Aiv.Fast2D.Mesh.numberOfAxis |
|
protected |
| Vector2 Aiv.Fast2D.Mesh.pivot = Vector2.Zero |
| Vector2 Aiv.Fast2D.Mesh.position = Vector2.Zero |
| bool Aiv.Fast2D.Mesh.requireUseTexture |
|
protected |
| Vector2 Aiv.Fast2D.Mesh.scale = Vector2.One |
| float [] Aiv.Fast2D.Mesh.uv |
| float [] Aiv.Fast2D.Mesh.v |
| float [] Aiv.Fast2D.Mesh.vc |
| float Aiv.Fast2D.Mesh.EulerRotation |
|
getset |
| int Aiv.Fast2D.Mesh.Instances |
|
get |
| float Aiv.Fast2D.Mesh.Rotation |
|
getset |
The documentation for this class was generated from the following file: