C# Class SSTUTools.Vertex

Data class to represent a single complete vertex, including normal, UV and index data
Mostrar archivo Open project: shadowmage45/SSTULabs Class Usage Examples

Public Properties

Property Type Description
index int
normal Vector3
uv Vector2
vertex Vector3

Public Methods

Method Description
Vertex ( ) : System
Vertex ( Vector3 vert, Vector3 norm, Vector2 uv, int index ) : System

Method Details

Vertex() public method

public Vertex ( ) : System
return System

Vertex() public method

public Vertex ( Vector3 vert, Vector3 norm, Vector2 uv, int index ) : System
vert Vector3
norm Vector3
uv Vector2
index int
return System

Property Details

index public_oe property

public int index
return int

normal public_oe property

public Vector3 normal
return Vector3

uv public_oe property

public Vector2 uv
return Vector2

vertex public_oe property

public Vector3 vertex
return Vector3