A fixed-function vertex format that stores position, normals, binormals, tangents and texture coordinates. Using this format hints the engine that all necessary data is already present.
More...
|
| PositionNormalBinormalTangentTextured (Vector3 position, Vector3 normal, Vector3 binormal, Vector3 tangent, float tu, float tv) |
| Creates a new positioned, textured vertex with normal, binormal and tangent information More...
|
|
override string | ToString () |
|
|
const int | StrideSize = 14 * 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...
|
|
Vector3 | Binormal |
| The binormal of the vertex in entity-space More...
|
|
Vector3 | Tangent |
| The tangent of the vertex in entity-space 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, binormals, tangents and texture coordinates. Using this format hints the engine that all necessary data is already present.
◆ PositionNormalBinormalTangentTextured()
OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.PositionNormalBinormalTangentTextured |
( |
Vector3 |
position, |
|
|
Vector3 |
normal, |
|
|
Vector3 |
binormal, |
|
|
Vector3 |
tangent, |
|
|
float |
tu, |
|
|
float |
tv |
|
) |
| |
|
inline |
Creates a new positioned, textured vertex with normal, binormal and tangent information
- Parameters
-
position | The position of the vertex in entity-space |
normal | The normal of the vertex in entity-space |
binormal | The binormal of the vertex in entity-space |
tangent | The tangent of the vertex in entity-space |
tu | The U-component of the texture coordinates |
tv | The V-component of the texture coordinates |
◆ GetVertexElements()
static VertexElement [] OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.GetVertexElements |
( |
| ) |
|
|
inlinestatic |
Returns an array describing the usage of the vertex fields
◆ Binormal
Vector3 OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.Binormal |
The binormal of the vertex in entity-space
◆ Normal
Vector3 OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.Normal |
The normal of the vertex in entity-space
◆ Position
Vector3 OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.Position |
The position of the vertex in entity-space
◆ StrideSize
const int OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.StrideSize = 14 * 4 |
The length of this vertex structure in bytes.
◆ Tangent
Vector3 OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.Tangent |
The tangent of the vertex in entity-space
◆ Tu
float OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.Tu |
The U-component of the texture coordinates
◆ Tv
float OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.Tv |
The V-component of the texture coordinates
◆ Nx
float OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.Nx |
|
getset |
The X-component of the normal of the vertex in entity-space
◆ Ny
float OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.Ny |
|
getset |
The X-component of the normal of the vertex in entity-space
◆ Nz
float OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.Nz |
|
getset |
The X-component of the normal of the vertex in entity-space
float OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.X |
|
getset |
The X-component of the position of the vertex in entity-space
float OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.Y |
|
getset |
The Y-component of the position of the vertex in entity-space
float OmegaEngine.Graphics.VertexDecl.PositionNormalBinormalTangentTextured.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/PositionNormalBinormalTangentTextured.cs