Types.Math
Phaser.Types.Math
RectangleLike
staticRectangleLike
| name | type | optional | description |
|---|---|---|---|
| x | number | No | The x component. |
| y | number | No | The y component. |
| width | number | No | The width component. |
| height | number | No | The height component. |
Type: object
Member of: Phaser.Types.Math
Source: src/math/typedefs/RectangleLike.js#L1
Since: 3.80.0
SinCosTable
staticSinCosTable
| name | type | optional | description |
|---|---|---|---|
| sin | number | No | The sine value. |
| cos | number | No | The cosine value. |
| length | number | No | The length. |
Type: object
Member of: Phaser.Types.Math
Source: src/math/typedefs/SinCosTable.js#L1
Since: 3.0.0
Vector2Like
staticVector2Like
| name | type | optional | description |
|---|---|---|---|
| x | number | No | The x component. |
| y | number | No | The y component. |
Type: object
Member of: Phaser.Types.Math
Source: src/math/typedefs/Vector2Like.js#L1
Since: 3.0.0
Vector3Like
staticVector3Like
| name | type | optional | description |
|---|---|---|---|
| x | number | Yes | The x component. |
| y | number | Yes | The y component. |
| z | number | Yes | The z component. |
Type: object
Member of: Phaser.Types.Math
Source: src/math/typedefs/Vector3Like.js#L1
Since: 3.50.0
Vector4Like
staticVector4Like
| name | type | optional | description |
|---|---|---|---|
| x | number | Yes | The x component. |
| y | number | Yes | The y component. |
| z | number | Yes | The z component. |
| w | number | Yes | The w component. |
Type: object
Member of: Phaser.Types.Math
Source: src/math/typedefs/Vector4Like.js#L1
Since: 3.50.0