SphereGeometry
A UV Sphere primitive mesh.
Inherited from PrimitiveBase -> Geometry -> NamedAssetBase -> EventDispatcher.
Can be created using method new:
Lib.Away3D.Primitives.SphereGeometry.new(radius, segmentsW, segmentsH, yUp) |
Creates a new Sphere object. |
radius - (default = 50) - The radius of the sphere. segmentsW - (default = 16) - Defines the number of horizontal segments that make up the sphere. segmentsH - (default = 12) - Defines the number of vertical segments that make up the sphere. yUp - (default = true) - Defines whether the sphere poles should lay on the Y-axis (true) or on the Z-axis (false). Boolean |
Created SphereGeometry object has properties:
radius |
The radius of the sphere. |
segmentsH |
Defines the number of vertical segments that make up the sphere. |
segmentsW |
Defines the number of horizontal segments that make up the sphere. |
yUp |
Defines whether the sphere poles should lay on the Y-axis (true) or on the Z-axis (false). Boolean |
Created with the Personal Edition of HelpNDoc: What is a Help Authoring tool?