Constructor
new DodecahedronGeometry( radius : number, detail : number )
Constructs a new dodecahedron geometry.
| radius |
Radius of the dodecahedron. Default is |
| detail |
Setting this to a value greater than 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.
- Overrides: PolyhedronGeometry#parameters
Static Methods
.fromJSON( data : Object ) : DodecahedronGeometry
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.