PIXI.PlaneGeometry
class PlaneGeometry extends PIXI.MeshGeometry
Constructor
new PIXI.PlaneGeometry(width: number, height: number, segWidth: number, segHeight: number) → {}
Name | Type | Default | Description |
---|---|---|---|
width | number | 100 |
The width of the plane. |
height | number | 100 |
The height of the plane. |
segWidth | number | 10 |
Number of horizontal segments. |
segHeight | number | 10 |
Number of vertical segments. |
Summary
Properties inherited from Geometry
object |
|
number |
|
boolean |
Whether the geometry is instanced. |
number |
Count of existing (not destroyed) meshes that reference this geometry. |
Methods inherited from Geometry
this |
|
PIXI.Geometry |
|
PIXI.Geometry |
|
void |
Destroys the geometry. |
void |
Disposes WebGL resources that are connected to this geometry. |
PIXI.Attribute |
|
PIXI.Buffer |
|
PIXI.Buffer |
|
number |
Get the size of the geometries, in vertices. |
PIXI.Geometry |
|