A UV Cylinder primitive mesh.


Inherited from PrimitiveBase -> Geometry -> NamedAssetBase -> EventDispatcher.


Can be created using method new:

Lib.Away3D.Primitives.TorusGeometry.new(radius, tubeRadius, segmentsR, segmentsT, yUp)

Creates a new Torus object.

radius - (default = 50) - The radius of the torus.

tubeRadius - (default = 50) - The radius of the inner tube of the torus.

segmentsR - (default = 16) - Defines the number of horizontal segments that make up the torus.

segmentsT - (default = 8) - Defines the number of vertical segments that make up the torus.

yUp - (default = true) - Defines whether the torus poles should lay on the Y-axis (true) or on the Z-axis (false). Boolean


Created TorusGeometry object has properties:

radius

The radius of the torus.

segmentsR

Defines the number of horizontal segments that make up the torus.

segmentsT

Defines the number of vertical segments that make up the torus.

tubeRadius

The radius of the inner tube of the torus.

yUp

Defines whether the torus poles should lay on the Y-axis (true) or on the Z-axis (false). Boolean

Created with the Personal Edition of HelpNDoc: Create help files for the Qt Help Framework