Class VertexElementUV
VertexElementUV class
Defines the UV coordinates for specified components. A geometry can have multiple VertexElementUV
elements, and each one have different TextureMapping
s.
public class VertexElementUV : VertexElementVector4
Constructors
Name | Description |
---|
VertexElementUV() | Initializes a new instance of the VertexElementUV class. The default texture mapping type is Diffuse |
VertexElementUV(TextureMapping) | Initializes a new instance of the VertexElementUV class. |
Properties
Methods
Name | Description |
---|
AddData(IEnumerable<Vector2>) | |
AddData(IEnumerable<Vector3>) | |
override Clear() | Removes all elements from the direct and the index arrays. |
CopyTo(VertexElementVector4) | Copies data to specified element |
SetData(Vector4[]) | Load data |
SetIndices(int[]) | Load indices |
override ToString() | String representation of vertex element. |
See Also