Creates a new hemisphere.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XMeshSprite AddHemisphere( float x, float y, float z, float radius, int slices, int stacks, 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.
- radius
- Type: System..::.Single
Radius of the new object.
- slices
- Type: System..::.Int32
Defines the edges count around the main diagonal.
- stacks
- Type: System..::.Int32
Defines the edges count along the main diagonal.
- bitmap
- Type: System.Drawing..::.Bitmap
The Bitmap bitmap on the object surface.