Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

sphereGeometry

Firtina Ozbalikci edited this page Feb 25, 2016 · 13 revisions

Wiki » Internal Components » Geometries » sphereGeometry

sphereGeometry

Creates a THREE.SphereGeometry

Attributes

dynamic

bool: See THREE.Geometry#dynamic.

Set to true if attribute buffers will need to change in runtime (using "dirty" flags).

Unless set to true internal typed arrays corresponding to buffers will be deleted once sent to GPU.

Defaults to true.

name

string: Name for this geometry.

Default is an empty string.

radius

number

widthSegments

number

heightSegments

number

phiStart

number

phiLength

number

thetaStart

number

thetaLength

number

resourceId

string: The resource id of this object, only used if it is placed into resources.

This component can be added into <resources/>! See Resource Types for more information.

===

View Source
Clone this wiki locally