Struct PositionTextured
- Namespace
- OmegaEngine.Graphics.VertexDecl
- Assembly
- OmegaEngine.dll
A fixed-function vertex format that stores position and texture coordinates. Using this format hints the engine that normals and tangents still need to be calculated.
public struct PositionTextured
- Inherited Members
Constructors
PositionTextured(Vector3, float, float)
A fixed-function vertex format that stores position and texture coordinates. Using this format hints the engine that normals and tangents still need to be calculated.
public PositionTextured(Vector3 position, float tu, float tv)
Parameters
positionVector3The position of the vertex in entity-space
tufloatThe U-component of the texture coordinates
tvfloatThe V-component of the texture coordinates
PositionTextured(float, float, float, float, float)
Creates a new positioned, textured vertex
public PositionTextured(float xvalue, float yvalue, float zvalue, float tu, float tv)
Parameters
xvaluefloatThe X-component of the position of the vertex in entity-space
yvaluefloatThe Y-component of the position of the vertex in entity-space
zvaluefloatThe Z-component of the position of the vertex in entity-space
tufloatThe U-component of the texture coordinates
tvfloatThe V-component of the texture coordinates
Fields
Format
The fixed-function format of this vertex structure.
public const VertexFormat Format = Position | Texture1
Field Value
- VertexFormat
Position
The position of the vertex in entity-space
public Vector3 Position
Field Value
- Vector3
Tu
The U-component of the texture coordinates
public float Tu
Field Value
Tv
The V-component of the texture coordinates
public float Tv
Field Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.