View source
class WireframePlane
package away3d.primitives
extends WireframePrimitiveBase › SegmentSet › Entity › ObjectContainer3D › Object3D › NamedAssetBase
Available on all platforms
A WireframePlane primitive mesh.
Static variables
Constructor
new(width:Float, height:Float, segmentsW:Int = 10, segmentsH:Int = 10, color:Int = 0xFFFFFF, thickness:Float = 1, orientation:String = "yz")
Creates a new WireframePlane object.
Parameters:
width | The size of the cube along its X-axis. |
|---|---|
height | The size of the cube along its Y-axis. |
segmentsW | The number of segments that make up the cube along the X-axis. |
segmentsH | The number of segments that make up the cube along the Y-axis. |
color | The colour of the wireframe lines |
thickness | The thickness of the wireframe lines |
orientation | The orientaion in which the plane lies. |