Creates a new Plane object.
The width of the plane.
The height of the plane.
The number of segments that make up the plane along the X-axis.
The number of segments that make up the plane along the Y or Z-axis.
Defines whether the normal vector of the plane should point along the Y-axis (true) or Z-axis (false).
Defines whether the plane will be visible from both sides, with correct vertex normals.
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 plane will be visible from both sides, with correct vertex normals (as opposed to bothSides on Material). Defaults to false.
Defines whether the plane will be visible from both sides, with correct vertex normals (as opposed to bothSides on Material). Defaults to false.
The height of the plane.
The height of the plane.
The material with which to render the primitive.
The material with which to render the primitive.
The number of segments that make up the plane along the Y or Z-axis, depending on whether yUp is true or false, respectively. Defaults to 1.
The number of segments that make up the plane along the Y or Z-axis, depending on whether yUp is true or false, respectively. Defaults to 1.
The number of segments that make up the plane along the X-axis. Defaults to 1.
The number of segments that make up the plane along the X-axis. Defaults to 1.
The width of the plane.
The width of the plane.
Defines whether the normal vector of the plane should point along the Y-axis (true) or Z-axis (false). Defaults to true.
Defines whether the normal vector of the plane should point along the Y-axis (true) or Z-axis (false). Defaults to true.
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 Plane primitive sprite.