A fixed-function vertex format that stores a transformed position and color.
More...
|
| TransformedColored (Vector3 position, float rhw, int color) |
| Creates a new transformed, colored vertex More...
|
|
| TransformedColored (float xvalue, float yvalue, float zvalue, float rhw, int color) |
| Creates a new transformed, colored vertex More...
|
|
override string | ToString () |
|
|
const VertexFormat | Format = VertexFormat.PositionRhw | VertexFormat.Diffuse |
| The fixed-function format of this vertex structure. More...
|
|
const int | StrideSize = 5 * 4 |
| The length of this vertex structure in bytes. More...
|
|
Vector3 | Position |
| The position of the vertex in screen-space More...
|
|
float | Rhw |
| The reciprocal of homogeneous W (the depth-value) More...
|
|
int | Color |
| The color of the vertex More...
|
|
|
float | X [get, set] |
| The X-component of the position of the vertex in screen-space More...
|
|
float | Y [get, set] |
| The Y-component of the position of the vertex in screen-space More...
|
|
float | Z [get, set] |
| The Z-component of the position of the vertex in screen-space More...
|
|
A fixed-function vertex format that stores a transformed position and color.
◆ TransformedColored() [1/2]
OmegaEngine.Graphics.VertexDecl.TransformedColored.TransformedColored |
( |
Vector3 |
position, |
|
|
float |
rhw, |
|
|
int |
color |
|
) |
| |
|
inline |
Creates a new transformed, colored vertex
- Parameters
-
position | The position of the vertex in screen-space |
rhw | The reciprocal of homogeneous W (the depth-value) |
color | The color of the vertex |
◆ TransformedColored() [2/2]
OmegaEngine.Graphics.VertexDecl.TransformedColored.TransformedColored |
( |
float |
xvalue, |
|
|
float |
yvalue, |
|
|
float |
zvalue, |
|
|
float |
rhw, |
|
|
int |
color |
|
) |
| |
|
inline |
Creates a new transformed, colored vertex
- Parameters
-
xvalue | The X-component of the position of the vertex in screen-space |
yvalue | The Y-component of the position of the vertex in screen-space |
zvalue | The Z-component of the position of the vertex in screen-space |
rhw | The reciprocal of homogeneous W (the depth-value) |
color | The color of the vertex |
◆ Color
int OmegaEngine.Graphics.VertexDecl.TransformedColored.Color |
◆ Format
const VertexFormat OmegaEngine.Graphics.VertexDecl.TransformedColored.Format = VertexFormat.PositionRhw | VertexFormat.Diffuse |
The fixed-function format of this vertex structure.
◆ Position
Vector3 OmegaEngine.Graphics.VertexDecl.TransformedColored.Position |
The position of the vertex in screen-space
◆ Rhw
float OmegaEngine.Graphics.VertexDecl.TransformedColored.Rhw |
The reciprocal of homogeneous W (the depth-value)
◆ StrideSize
const int OmegaEngine.Graphics.VertexDecl.TransformedColored.StrideSize = 5 * 4 |
The length of this vertex structure in bytes.
float OmegaEngine.Graphics.VertexDecl.TransformedColored.X |
|
getset |
The X-component of the position of the vertex in screen-space
float OmegaEngine.Graphics.VertexDecl.TransformedColored.Y |
|
getset |
The Y-component of the position of the vertex in screen-space
float OmegaEngine.Graphics.VertexDecl.TransformedColored.Z |
|
getset |
The Z-component of the position of the vertex in screen-space
The documentation for this struct was generated from the following file:
- OmegaEngine/Graphics/VertexDecl/TransformedColored.cs