A UV Cylinder primitive mesh. 


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


Can be created using method new:

Lib.Away3D.Primitives.CylinderGeometry.new(topRadius, bottomRadius, height, segmentsW, segmentsH, topClosed, bottomClosed, surfaceClosed, yUp)

Creates a new Cylinder object.

topRadius - Float = 50 The radius of the top end of the cylinder.,

bottomRadius - Float = 50 The radius of the bottom end of the cylinder,

height - Float = 100 The radius of the bottom end of the cylinder,

segmentsW - Int, Defines the number of horizontal segments that make up the cylinder. Defaults to 16

segmentsH - Int, Defines the number of vertical segments that make up the cylinder. Defaults to 1.

topClosed - Bool = true, Defines whether the top end of the cylinder is closed (true) or open.

bottomClosed - Bool = true, Defines whether the bottom end of the cylinder is closed (true) or open.

surfaceClosed - Bool = true, Defines whether the surface of the cylinder is closed (true) or open.

yUp - Bool = true, Defines whether the cone poles should lay on the Y-axis (true) or on the Z-axis (false).


Created cylinder has properties:

bottomClosed

Boolean, Defines whether the bottom end of the cylinder is closed (true) or open.

bottomRadius

Number, The radius of the bottom end of the cylinder.

height

Number, The radius of the top end of the cylinder.

segmentsH

int, Defines the number of vertical segments that make up the cylinder.

segmentsW

int, Defines the number of horizontal segments that make up the cylinder.

topClosed

Boolean, Defines whether the top end of the cylinder is closed (true) or open.

topRadius

Number, The radius of the top end of the cylinder.

yUp

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


Created with the Personal Edition of HelpNDoc: Benefits of a Help Authoring Tool