Phaser.Types.Math

<static> RectangleLike

nametypeoptionaldescription
xnumberNoThe x component.
ynumberNoThe y component.
widthnumberNoThe width component.
heightnumberNoThe height component.

Type: object

Member of: Phaser.Types.Math

Source: src/math/typedefs/RectangleLike.js - Line: 1
Since: 3.80.0


<static> SinCosTable

nametypeoptionaldescription
sinnumberNoThe sine value.
cosnumberNoThe cosine value.
lengthnumberNoThe length.

Type: object

Member of: Phaser.Types.Math

Source: src/math/typedefs/SinCosTable.js - Line: 1
Since: 3.0.0


<static> Vector2Like

nametypeoptionaldescription
xnumberNoThe x component.
ynumberNoThe y component.

Type: object

Member of: Phaser.Types.Math

Source: src/math/typedefs/Vector2Like.js - Line: 1
Since: 3.0.0


<static> Vector3Like

nametypeoptionaldescription
xnumberYesThe x component.
ynumberYesThe y component.
znumberYesThe z component.

Type: object

Member of: Phaser.Types.Math

Source: src/math/typedefs/Vector3Like.js - Line: 1
Since: 3.50.0


<static> Vector4Like

nametypeoptionaldescription
xnumberYesThe x component.
ynumberYesThe y component.
znumberYesThe z component.
wnumberYesThe w component.

Type: object

Member of: Phaser.Types.Math

Source: src/math/typedefs/Vector4Like.js - Line: 1
Since: 3.50.0


Updated on