Creates a new Cone object.
The radius of the bottom end of the cone
The height of the cone
Defines the number of horizontal segments that make up the cone. Defaults to 16.
Defines the number of vertical segments that make up the cone. Defaults to 1.
Defines whether the cone 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.
Defines whether the bottom end of the cylinder is closed (true) or open.
Defines whether the bottom end of the cylinder is closed (true) or open.
The radius of the bottom end of the cylinder.
The radius of the bottom end of the cylinder.
The radius of the top end of the cylinder.
The radius of the top end of the cylinder.
The material with which to render the primitive.
The material with which to render the primitive.
The radius of the bottom end of the cone.
The radius of the bottom end of the cone.
Defines the number of vertical segments that make up the cylinder. Defaults to 1.
Defines the number of vertical segments that make up the cylinder. Defaults to 1.
Defines the number of horizontal segments that make up the cylinder. Defaults to 16.
Defines the number of horizontal segments that make up the cylinder. Defaults to 16.
Defines whether the top end of the cylinder is closed (true) or open.
Defines whether the top end of the cylinder is closed (true) or open.
The radius of the top end of the cylinder.
The radius of the top end of the cylinder.
Defines whether the cylinder poles should lay on the Y-axis (true) or on the Z-axis (false).
Defines whether the cylinder 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 Cone primitive sprite.