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