Constructor
new RingGeometry( innerRadius : number, outerRadius : number, thetaSegments : number, phiSegments : number, thetaStart : number, thetaLength : number )
Constructs a new ring geometry.
| innerRadius |
The inner radius of the ring. Default is |
| outerRadius |
The outer radius of the ring. Default is |
| thetaSegments |
Number of segments. A higher number means the ring will be more round. Minimum is Default is |
| phiSegments |
Number of segments per ring segment. Minimum is Default is |
| thetaStart |
Starting angle in radians. Default is |
| thetaLength |
Central angle in radians. Default is |
Properties
.parameters : Object
Holds the constructor parameters that have been used to generate the geometry. Any modification after instantiation does not change the geometry.
Static Methods
.fromJSON( data : Object ) : RingGeometry
Factory method for creating an instance of this class from the given JSON object.
| data |
A JSON object representing the serialized geometry. |
- Returns: A new instance.