Creates a new face.

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

Syntax

C#
[DefaultMethodAttribute]
public XFaceSprite AddFace(
	float x1,
	float y1,
	float z1,
	float x2,
	float y2,
	float z2,
	float x3,
	float y3,
	float z3,
	Color color
)

Parameters

x1
Type: System..::.Single
The 1. X coordinate of the object.
y1
Type: System..::.Single
The 1. Y coordinate of the object.
z1
Type: System..::.Single
The 1. Z coordinate of the object.
x2
Type: System..::.Single
The 2. X coordinate of the object.
y2
Type: System..::.Single
The 2. Y coordinate of the object.
z2
Type: System..::.Single
The 2. Z coordinate of the object.
x3
Type: System..::.Single
The 3. X coordinate of the object.
y3
Type: System..::.Single
The 3. Y coordinate of the object.
z3
Type: System..::.Single
The 3. Z coordinate of the object.
color
Type: System.Drawing..::.Color
Color Color of the primitive.

Return Value

Returns the newly created object.

See Also