Creates a new object that results from rotation points along the Y axis.

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

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public XMeshSprite AddCircular(
	float x,
	float y,
	float z,
	int segments,
	Color color,
	bool fill,
	ICollection 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.
color
Type: System.Drawing..::.Color
Color Color of the primitive.
fill
Type: System..::.Boolean
Indicates whether the object is filled.
points
Type: System.Collections..::.ICollection
Points of the rotational object, entered in the sequence x1,y1,x2,y2,....

Return Value

Returns the newly created object.

See Also