Creates a new box.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
[DefaultMethodAttribute] public XMaterialSprite AddBox( float x, float y, float z, Color color, bool fill ) |
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.
- color
- Type: System.Drawing..::.Color
Color Color of the primitive.
- fill
- Type: System..::.Boolean
Indicates whether the object is filled.