Phaser API Documentation

  Version: 
Filter
Namespace: Math
Phaser.Types.Math
Source: src/math/typedefs/index.js (Line 7)

Type Definitions

SinCosTable
Focus
Focus
Properties:
name type description
sin number

The sine value.

cos number

The cosine value.

length number

The length.

Type:
object
Since: 3.0.0
Focus
Focus
Vector2Like
Focus
Focus
Properties:
name type arguments description
x number <optional>

The x component.

y number <optional>

The y component.

Type:
object
Since: 3.0.0
Focus
Focus
Vector3Like
Focus
Focus
Properties:
name type arguments description
x number <optional>

The x component.

y number <optional>

The y component.

z number <optional>

The z component.

Type:
object
Since: 3.50.0
Focus
Focus
Vector4Like
Focus
Focus
Properties:
name type arguments 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.

Type:
object
Since: 3.50.0
Focus
Focus