Creates a new face.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public XFaceSprite AddFace(
	Vector3 a,
	Vector3 b,
	Vector3 c,
	Color color
)

Parameters

a
Type: Vector3
Coordinates of the vertex nr. 1.
b
Type: Vector3
Coordinates of the vertex nr. 2.
c
Type: Vector3
Coordinates of the vertex nr. 3.
color
Type: System.Drawing..::.Color
Color Color of the primitive.

Return Value

Returns the newly created object.

See Also