A fixed-function vertex format that stores position, normals and texture coordinates. Using this format hints the engine that tangents (and maybe normals) still need to be calculated.
More...
|
| PositionNormalTextured (Vector3 position, Vector3 normal, float tu, float tv) |
| Creates a new position, textured vertex with normal information More...
|
|
override string | ToString () |
|
|
const VertexFormat | Format = VertexFormat.Position | VertexFormat.Normal | VertexFormat.Texture1 |
| The fixed-function format of this vertex structure. More...
|
|
const int | StrideSize = 8 * 4 |
| The length of this vertex structure in bytes. More...
|
|
Vector3 | Position |
| The position of the vertex in entity-space More...
|
|
Vector3 | Normal |
| The normal 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...
|
|
float | Nx [get, set] |
| The X-component of the normal of the vertex in entity-space More...
|
|
float | Ny [get, set] |
| The X-component of the normal of the vertex in entity-space More...
|
|
float | Nz [get, set] |
| The X-component of the normal of the vertex in entity-space More...
|
|
A fixed-function vertex format that stores position, normals and texture coordinates. Using this format hints the engine that tangents (and maybe normals) still need to be calculated.
◆ PositionNormalTextured()
OmegaEngine.Graphics.VertexDecl.PositionNormalTextured.PositionNormalTextured |
( |
Vector3 |
position, |
|
|
Vector3 |
normal, |
|
|
float |
tu, |
|
|
float |
tv |
|
) |
| |
|
inline |
Creates a new position, textured vertex with normal information
- Parameters
-
position | The position of the vertex in entity-space |
normal | The normal 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.PositionNormalTextured.Format = VertexFormat.Position | VertexFormat.Normal | VertexFormat.Texture1 |
The fixed-function format of this vertex structure.
◆ Normal
Vector3 OmegaEngine.Graphics.VertexDecl.PositionNormalTextured.Normal |
The normal of the vertex in entity-space
◆ Position
Vector3 OmegaEngine.Graphics.VertexDecl.PositionNormalTextured.Position |
The position of the vertex in entity-space
◆ StrideSize
const int OmegaEngine.Graphics.VertexDecl.PositionNormalTextured.StrideSize = 8 * 4 |
The length of this vertex structure in bytes.
◆ Tu
float OmegaEngine.Graphics.VertexDecl.PositionNormalTextured.Tu |
The U-component of the texture coordinates
◆ Tv
float OmegaEngine.Graphics.VertexDecl.PositionNormalTextured.Tv |
The V-component of the texture coordinates
◆ Nx
float OmegaEngine.Graphics.VertexDecl.PositionNormalTextured.Nx |
|
getset |
The X-component of the normal of the vertex in entity-space
◆ Ny
float OmegaEngine.Graphics.VertexDecl.PositionNormalTextured.Ny |
|
getset |
The X-component of the normal of the vertex in entity-space
◆ Nz
float OmegaEngine.Graphics.VertexDecl.PositionNormalTextured.Nz |
|
getset |
The X-component of the normal of the vertex in entity-space
float OmegaEngine.Graphics.VertexDecl.PositionNormalTextured.X |
|
getset |
The X-component of the position of the vertex in entity-space
float OmegaEngine.Graphics.VertexDecl.PositionNormalTextured.Y |
|
getset |
The Y-component of the position of the vertex in entity-space
float OmegaEngine.Graphics.VertexDecl.PositionNormalTextured.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/PositionNormalTextured.cs