A fixed-function vertex format that stores position and texture coordinates. Using this format hints the engine that normals and tangents still need to be calculated.
More...
|
| PositionTextured (Vector3 position, float tu, float tv) |
| Creates a new positioned, textured vertex More...
|
|
| PositionTextured (float xvalue, float yvalue, float zvalue, float tu, float tv) |
| Creates a new positioned, textured vertex More...
|
|
override string | ToString () |
|
|
const VertexFormat | Format = VertexFormat.Position | VertexFormat.Texture1 |
| 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 entity-space More...
|
|
float | Tu |
| The U-component of the texture coordinates More...
|
|
float | Tv |
| The V-component of the texture coordinates More...
|
|
|
float | X [get, set] |
| The X-component of the position of the vertex in entity-space More...
|
|
float | Y [get, set] |
| The Y-component of the position of the vertex in entity-space More...
|
|
float | Z [get, set] |
| The Z-component of the position of the vertex in entity-space More...
|
|
A fixed-function vertex format that stores position and texture coordinates. Using this format hints the engine that normals and tangents still need to be calculated.
◆ PositionTextured() [1/2]
OmegaEngine.Graphics.VertexDecl.PositionTextured.PositionTextured |
( |
Vector3 |
position, |
|
|
float |
tu, |
|
|
float |
tv |
|
) |
| |
|
inline |
Creates a new positioned, textured vertex
- Parameters
-
position | The position of the vertex in entity-space |
tu | The U-component of the texture coordinates |
tv | The V-component of the texture coordinates |
◆ PositionTextured() [2/2]
OmegaEngine.Graphics.VertexDecl.PositionTextured.PositionTextured |
( |
float |
xvalue, |
|
|
float |
yvalue, |
|
|
float |
zvalue, |
|
|
float |
tu, |
|
|
float |
tv |
|
) |
| |
|
inline |
Creates a new positioned, textured vertex
- Parameters
-
xvalue | The X-component of the position of the vertex in entity-space |
yvalue | The Y-component of the position of the vertex in entity-space |
zvalue | The Z-component of the position of the vertex in entity-space |
tu | The U-component of the texture coordinates |
tv | The V-component of the texture coordinates |
◆ Format
const VertexFormat OmegaEngine.Graphics.VertexDecl.PositionTextured.Format = VertexFormat.Position | VertexFormat.Texture1 |
The fixed-function format of this vertex structure.
◆ Position
Vector3 OmegaEngine.Graphics.VertexDecl.PositionTextured.Position |
The position of the vertex in entity-space
◆ StrideSize
const int OmegaEngine.Graphics.VertexDecl.PositionTextured.StrideSize = 5 * 4 |
The length of this vertex structure in bytes.
◆ Tu
float OmegaEngine.Graphics.VertexDecl.PositionTextured.Tu |
The U-component of the texture coordinates
◆ Tv
float OmegaEngine.Graphics.VertexDecl.PositionTextured.Tv |
The V-component of the texture coordinates
float OmegaEngine.Graphics.VertexDecl.PositionTextured.X |
|
getset |
The X-component of the position of the vertex in entity-space
float OmegaEngine.Graphics.VertexDecl.PositionTextured.Y |
|
getset |
The Y-component of the position of the vertex in entity-space
float OmegaEngine.Graphics.VertexDecl.PositionTextured.Z |
|
getset |
The Z-component of the position of the vertex in entity-space
The documentation for this struct was generated from the following file:
- OmegaEngine/Graphics/VertexDecl/PositionTextured.cs