Vytvoří novou instanci třídy XSphereMesh s parametry koule a materiálem XMaterial.

Jmenný prostor:  SGP.XSpace
Knihovna:  SGPRTL (v SGPRTL)
Verze: dll

Syntaxe

C#
public XSphereMesh(
	float radius,
	int slices,
	int stacks,
	float angle,
	XMaterial material
)

Parametry

radius
Typ: System..::.Single
Určuje poloměr koule.
slices
Typ: System..::.Int32
Určuje počet hran kolem hlavní diagonály.
stacks
Typ: System..::.Int32
Určuje počet hran podél hlavní diagonály.
angle
Typ: System..::.Single
Úhel rotace.
material
Typ: SGP.XSpace..::.XMaterial
Materiál XMaterial použitý pro kreslení meshe.

Podívat se také na