Creates a new object that results from rotation points along the Y axis.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XMeshSprite AddCircular( float x, float y, float z, int segments, Bitmap bitmap, params Vector2[] points ) |
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.
- segments
- Type: System..::.Int32
Meridian count of the rotational object.
- bitmap
- Type: System.Drawing..::.Bitmap
The Bitmap texture bitmap on the object surface.
- points
- Type: array<
Vector2
>[]()[]
Points of the rotational object, entered in the sequence xy1,xy2,....