PIXI.QuadUv
class QuadUv extends PIXI.Geometry
Helper class to create a quad with uvs like in v4
Summary
Properties from QuadUv
Methods from QuadUv
| this |
|
| this |
|
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 |
|
Public Properties
Public Methods
invalidate() → {this}
Legacy upload method, just marks buffers dirty.
| Type | Description |
|---|---|
| this |
|
map(targetTextureFrame: PIXI.Rectangle, destinationFrame: PIXI.Rectangle) → {this}
Maps two Rectangle to the quad.
| Name | Type | Description |
|---|---|---|
| targetTextureFrame | PIXI.Rectangle |
The first rectangle |
| destinationFrame | PIXI.Rectangle |
The second rectangle |
| Type | Description |
|---|---|
| this |
|