A custom vertex format that stores position, normals, shadow information, texture blending weights and texture coordinates. Using this format hints the engine that tangents (and maybe normals) still need to be calculated.
More...
|
| PositionNormalMultiTextured (Vector3 position, Vector3 normal, float tu, float tv, Vector4 occlusionIntervals, float[] texWeights, Color4 color) |
| Creates a new multi-textured vertex More...
|
|
override string | ToString () |
|
|
const int | StrideSize = 30 * 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...
|
|
Vector4 | OcclusionIntervals |
| The angles at which the global light source occlusion begins and ends More...
|
|
Vector4 | TexWeights1 |
| Texture blending weights More...
|
|
Vector4 | TexWeights2 |
|
Vector4 | TexWeights3 |
|
Vector4 | TexWeights4 |
|
Color4 | Color |
| A color by which the texture will be multiplied 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 custom vertex format that stores position, normals, shadow information, texture blending weights and texture coordinates. Using this format hints the engine that tangents (and maybe normals) still need to be calculated.
◆ PositionNormalMultiTextured()
OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.PositionNormalMultiTextured |
( |
Vector3 |
position, |
|
|
Vector3 |
normal, |
|
|
float |
tu, |
|
|
float |
tv, |
|
|
Vector4 |
occlusionIntervals, |
|
|
float [] |
texWeights, |
|
|
Color4 |
color |
|
) |
| |
|
inline |
Creates a new multi-textured vertex
- Parameters
-
position | The position of the vertex in entity-space |
normal | The normal vector |
tu | The U-component of the texture coordinates |
tv | The V-component of the texture coordinates |
occlusionIntervals | The angles at which the global light source occlusion begins and ends |
texWeights | A 16-element array of texture blending weight |
color | A color by which the texture will be multiplied |
◆ GetVertexElements()
static VertexElement [] OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.GetVertexElements |
( |
| ) |
|
|
inlinestatic |
Returns an array describing the usage of the vertex fields
◆ Color
Color4 OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.Color |
A color by which the texture will be multiplied
◆ Normal
Vector3 OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.Normal |
The normal of the vertex in entity-space
◆ OcclusionIntervals
Vector4 OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.OcclusionIntervals |
The angles at which the global light source occlusion begins and ends
◆ Position
Vector3 OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.Position |
The position of the vertex in entity-space
◆ StrideSize
const int OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.StrideSize = 30 * 4 |
The length of this vertex structure in bytes.
◆ TexWeights1
Vector4 OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.TexWeights1 |
◆ Tu
float OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.Tu |
The U-component of the texture coordinates
◆ Tv
float OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.Tv |
The V-component of the texture coordinates
◆ Nx
float OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.Nx |
|
getset |
The X-component of the normal of the vertex in entity-space
◆ Ny
float OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.Ny |
|
getset |
The X-component of the normal of the vertex in entity-space
◆ Nz
float OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.Nz |
|
getset |
The X-component of the normal of the vertex in entity-space
float OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.X |
|
getset |
The X-component of the position of the vertex in entity-space
float OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.Y |
|
getset |
The Y-component of the position of the vertex in entity-space
float OmegaEngine.Graphics.VertexDecl.PositionNormalMultiTextured.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/PositionNormalMultiTextured.cs