Namespace: Math

Phaser.Types. Math

Type Definitions


SinCosTable

Type:
  • object
Properties:
Name Type Description
sin number

The sine value.

cos number

The cosine value.

length number

The length.

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

Vector2Like

Type:
  • object
Properties:
Name Type Argument Description
x number <optional>

The x component.

y number <optional>

The y component.

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

Vector3Like

Type:
  • object
Properties:
Name Type Argument Description
x number <optional>

The x component.

y number <optional>

The y component.

z number <optional>

The z component.

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

Vector4Like

Type:
  • object
Properties:
Name Type Argument Description
x number <optional>

The x component.

y number <optional>

The y component.

z number <optional>

The z component.

w number <optional>

The w component.

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