Creates a new torus.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XMeshSprite AddTorus( float x, float y, float z, float innerRadius, float outerRadius, int sides, int rings, 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.
- innerRadius
- Type: System..::.Single
Inner radius.
- outerRadius
- Type: System..::.Single
Outer radius.
- sides
- Type: System..::.Int32
Sides number.
- rings
- Type: System..::.Int32
Rings number.
- bitmap
- Type: System.Drawing..::.Bitmap
The Bitmap bitmap on the object surface.