Vytvoří novou instanci třídy XTorusMesh s parametry anuloidu (prstence) a materiálem XMaterial.
Jmenný prostor:
SGP.XSpaceKnihovna: SGPRTL (v SGPRTL)
Verze: dll
Syntaxe
C# |
---|
public XTorusMesh( float innerRadius, float outerRadius, int sides, int rings, float angle, XMaterial material ) |
Parametry
- innerRadius
- Typ: System..::.Single
Určuje vnitřní poloměr anuloidu (prstence).
- outerRadius
- Typ: System..::.Single
Určuje vnější poloměr anuloidu (prstence).
- sides
- Typ: System..::.Int32
Určuje počet bočnic v příčném řezu.
- rings
- Typ: System..::.Int32
Určuje počet prstenů v anuloidu (prstenci).
- angle
- Typ: System..::.Single
Úhel rotace.
- material
- Typ: SGP.XSpace..::.XMaterial
Materiál XMaterial použitý pro kreslení meshe.