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#
public XMeshSprite AddCircular(
	float x,
	float y,
	float z,
	int segments,
	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.
points
Type: array< Vector2 >[]()[]
Points of the rotational object, entered in the sequence xy1,xy2,....

Return Value

Returns the newly created object.

See Also