Skip to main content
Version: Phaser v3.88.2

Types.Math

RectangleLike

<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#L1
Since: 3.80.0


SinCosTable

<static> SinCosTable

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

Type: object

Member of: Phaser.Types.Math

Source: src/math/typedefs/SinCosTable.js#L1
Since: 3.0.0


Vector2Like

<static> Vector2Like

nametypeoptionaldescription
xnumberNoThe x component.
ynumberNoThe y component.

Type: object

Member of: Phaser.Types.Math

Source: src/math/typedefs/Vector2Like.js#L1
Since: 3.0.0


Vector3Like

<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#L1
Since: 3.50.0


Vector4Like

<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#L1
Since: 3.50.0