C# Class SSTUTools.Vertex

Data class to represent a single complete vertex, including normal, UV and index data
Show file 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 property

public int index
return int

normal public property

public Vector3 normal
return Vector3

uv public property

public Vector2 uv
return Vector2

vertex public property

public Vector3 vertex
return Vector3