Creates a new Torus
object.
The radius of the torus.
Defines the number of horizontal segments that make up the torus.
Defines the number of vertical segments that make up the torus.
Defines whether the torus 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 torus.
The radius of the torus.
Defines the number of horizontal segments that make up the torus. Defaults to 16.
Defines the number of horizontal segments that make up the torus. Defaults to 16.
Defines the number of vertical segments that make up the torus. Defaults to 8.
Defines the number of vertical segments that make up the torus. Defaults to 8.
The radius of the inner tube of the torus.
The radius of the inner tube of the torus.
Defines whether the torus poles should lay on the Y-axis (true) or on the Z-axis (false).
Defines whether the torus 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 Cylinder primitive sprite.