A fixed-function vertex format that stores position, normals and texture coordinates. Using this format hints the engine that that lighting is to be used.
More...
|
| PositionNormalColored (Vector3 position, Vector3 normal, int color) |
| Creates a new positioned, colored vertex with normal information More...
|
|
override string | ToString () |
|
|
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 that lighting is to be used.
◆ PositionNormalColored()
OmegaEngine.Graphics.VertexDecl.PositionNormalColored.PositionNormalColored |
( |
Vector3 |
position, |
|
|
Vector3 |
normal, |
|
|
int |
color |
|
) |
| |
|
inline |
Creates a new positioned, colored vertex with normal information
- Parameters
-
position | The position of the vertex in entity-space |
normal | The normal of the vertex in entity-space |
color | The color of the vertex |
◆ Color
int OmegaEngine.Graphics.VertexDecl.PositionNormalColored.Color |
◆ Format
const VertexFormat OmegaEngine.Graphics.VertexDecl.PositionNormalColored.Format = VertexFormat.Position | VertexFormat.Normal | VertexFormat.Diffuse |
The fixed-function format of this vertex structure.
◆ Normal
Vector3 OmegaEngine.Graphics.VertexDecl.PositionNormalColored.Normal |
The normal of the vertex in entity-space
◆ Position
Vector3 OmegaEngine.Graphics.VertexDecl.PositionNormalColored.Position |
The position of the vertex in entity-space
◆ StrideSize
const int OmegaEngine.Graphics.VertexDecl.PositionNormalColored.StrideSize = 7 * 4 |
The length of this vertex structure in bytes.
◆ Nx
float OmegaEngine.Graphics.VertexDecl.PositionNormalColored.Nx |
|
getset |
The X-component of the normal of the vertex in entity-space
◆ Ny
float OmegaEngine.Graphics.VertexDecl.PositionNormalColored.Ny |
|
getset |
The X-component of the normal of the vertex in entity-space
◆ Nz
float OmegaEngine.Graphics.VertexDecl.PositionNormalColored.Nz |
|
getset |
The X-component of the normal of the vertex in entity-space
float OmegaEngine.Graphics.VertexDecl.PositionNormalColored.X |
|
getset |
The X-component of the position of the vertex in entity-space
float OmegaEngine.Graphics.VertexDecl.PositionNormalColored.Y |
|
getset |
The Y-component of the position of the vertex in entity-space
float OmegaEngine.Graphics.VertexDecl.PositionNormalColored.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/PositionNormalColored.cs