Creates a new Sphere object.
The radius of the sphere.
Defines the number of horizontal segments that make up the sphere.
Defines the number of vertical segments that make up the sphere.
Defines whether the sphere poles should lay on the Y-axis (true) or on the Z-axis (false).
adapter is used to provide MovieClip to scripts taken from different platforms setter typically managed by factory. getter defaults to AwayJS class
A unique id for the asset, used to identify assets in an associative array
The original name used for this asset in the resource (e.g. file) in which
it was found. This may not be the same as name
, which may
have changed due to of a name conflict.
The material with which to render the primitive.
The material with which to render the primitive.
The radius of the sphere.
The radius of the sphere.
Defines the number of vertical segments that make up the sphere. Defaults to 12.
Defines the number of vertical segments that make up the sphere. Defaults to 12.
Defines the number of horizontal segments that make up the sphere. Defaults to 16.
Defines the number of horizontal segments that make up the sphere. Defaults to 16.
Defines whether the sphere poles should lay on the Y-axis (true) or on the Z-axis (false).
Defines whether the sphere poles should lay on the Y-axis (true) or on the Z-axis (false).
Invalidates the primitive, causing it to be updated when requested.
Invalidates the primitive's uv coordinates, causing them to be updated when requested.
Add an event listener
Dispatch an event
Returns a display object generated from this prefab
check if an object has an event listener assigned to it
Remove an event listener
Generated using TypeDoc
A UV Sphere primitive sprite.