Types.Math

Phaser.Types.Math

RectangleLike

<static> RectangleLike

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

<static> SinCosTable

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

<static> Vector2Like

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

<static> Vector3Like

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

<static> Vector4Like

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


Updated on