C# Class THREE.Face3

Show file Open project: guidovanhilst/SharpThreejs Class Usage Examples

Public Properties

Property Type Description
a int
b int
c int
color Color
materialIndex int
normal Vector3
vertexNormals THREE.Vector3[]

Public Methods

Method Description
Face3 ( int a, int b, int c ) : System
Face3 ( int a, int b, int c, Vector3 normal, Color color, int materialIndex ) : System
clone ( ) : Face3

Method Details

Face3() public method

public Face3 ( int a, int b, int c ) : System
a int
b int
c int
return System

Face3() public method

public Face3 ( int a, int b, int c, Vector3 normal, Color color, int materialIndex ) : System
a int
b int
c int
normal Vector3
color Color
materialIndex int
return System

clone() public method

public clone ( ) : Face3
return Face3

Property Details

a public property

a — Vertex A index.
public int a
return int

b public property

b — Vertex B index.
public int b
return int

c public property

c — Vertex C index.
public int c
return int

color public property

Face color.
public Color,THREE color
return Color

materialIndex public property

Material index (points to MultiMaterial.materials).
public int materialIndex
return int

normal public property

Face normal.
public Vector3,THREE normal
return Vector3

vertexNormals public property

Array of 3 vertex normals.
public Vector3[],THREE vertexNormals
return THREE.Vector3[]