Tridimensional vertex value type (float coordinates). More...
Public Member Functions | |
| Vertex3f (float x, float y, float z) | |
| Vertex3f constructor. | |
| Vertex3f (float[] v) | |
| Vertex3f constructor. | |
| System.Type | GetBaseType () |
| Get the type of the components of this IVertex. | |
| int | GetComponentsCount () |
| Get the number of the components of this IVertex. | |
| float | Module () |
| Compute bidimensional vertex module. | |
| void | Normalize () |
| Normalize vertex coordinates. | |
| override string | ToString () |
| Stringify this Vertex3f. | |
Static Public Member Functions | |
| static | operator float[] (Vertex3f a) |
| Cast to float[] operator. | |
| static | operator Vertex2f (Vertex3f a) |
| Cast to Vertex2f operator. | |
| static | operator Vertex3d (Vertex3f a) |
| Cast to Vertex3d operator. | |
| static Vertex3f | operator% (Vertex3f v1, Vertex3f v2) |
| Cross product operator. | |
| static Vertex3f | operator* (Vertex3f v, Matrix4x4 m) |
| Transform vertex using transformation matrix. | |
| static float | operator* (Vertex3f v1, Vertex3f v2) |
| Dot product operator. | |
| static Vertex3f | operator* (Vertex3f v1, float scalar) |
| Scalar multiply operator. | |
| static Vertex3f | operator+ (Vertex3f v1, Vertex3f v2) |
| Add operator. | |
| static Vertex3f | operator- (Vertex3f v1, Vertex3f v2) |
| Subtract operator. | |
| static Vertex3f | operator- (Vertex3f v1) |
| Negate operator. | |
| static Vertex3f | operator/ (Vertex3f v1, float scalar) |
| Scalar divide operator. | |
Public Attributes | |
| float | x |
| X coordinate for tridimensional vertex. | |
| float | y |
| Y coordinate for tridimensional vertex. | |
| float | z |
| Z coordinate for tridimensional vertex. | |
Properties | |
| float | this [int idx] [get, set] |
| Vertex components indexer (cast to sbyte to float). | |
| float | X [get, set] |
| Vertex coordinate X. | |
| float | Y [get, set] |
| Vertex coordinate Y. | |
| float | Z [get, set] |
| Vertex coordinate Z. | |
Tridimensional vertex value type (float coordinates).
| Derm.Render.Vertex3f.Vertex3f | ( | float[] | v | ) |
Vertex3f constructor.
| v | A System.Single |
| Derm.Render.Vertex3f.Vertex3f | ( | float | x, | |
| float | y, | |||
| float | z | |||
| ) |
Vertex3f constructor.
| x | A System.Single | |
| y | A System.Single |
| System.Type Derm.Render.Vertex3f.GetBaseType | ( | ) |
Get the type of the components of this IVertex.
Implements Derm.Render.IVertex.
| int Derm.Render.Vertex3f.GetComponentsCount | ( | ) |
Get the number of the components of this IVertex.
Implements Derm.Render.IVertex.
| float Derm.Render.Vertex3f.Module | ( | ) |
Compute bidimensional vertex module.
| void Derm.Render.Vertex3f.Normalize | ( | ) |
Normalize vertex coordinates.
| static Derm.Render.Vertex3f.operator float[] | ( | Vertex3f | a | ) | [explicit, static] |
Negate operator.
| v1 |
| override string Derm.Render.Vertex3f.ToString | ( | ) |
| float Derm.Render.Vertex3f.x |
X coordinate for tridimensional vertex.
| float Derm.Render.Vertex3f.y |
Y coordinate for tridimensional vertex.
| float Derm.Render.Vertex3f.z |
Z coordinate for tridimensional vertex.
float Derm.Render.Vertex3f.this[int idx] [get, set] |
Vertex components indexer (cast to sbyte to float).
| idx | A System.Int32 |
Implements Derm.Render.IVertex.
float Derm.Render.Vertex3f.X [get, set] |
Vertex coordinate X.
Implements Derm.Render.IVertex3.
float Derm.Render.Vertex3f.Y [get, set] |
Vertex coordinate Y.
Implements Derm.Render.IVertex3.
float Derm.Render.Vertex3f.Z [get, set] |
Vertex coordinate Z.
Implements Derm.Render.IVertex3.