Creates a new box.

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

Syntax

C#
public XMaterialSprite AddBox(
	float x,
	float y,
	float z,
	Bitmap bitmap
)

Parameters

x
Type: System..::.Single
The X coordinate of the object.
y
Type: System..::.Single
The Y coordinate of the object.
z
Type: System..::.Single
The Z coordinate of the object.
bitmap
Type: System.Drawing..::.Bitmap
The Bitmap bitmap on the object surface.

Return Value

Returns the newly created object.

See Also