Options
All
  • Public
  • Public/Protected
  • All
Menu

Specifies global scene configuration for physics simulation.

Hierarchy

Index

Constructors

constructor

Properties

gravity

gravity: Vector2

Specifies the global gravity vector for the scene in world coordinate space. The -Y coordinate represents down in world space, so setting a vector such as (0, -10) will produce a downwards force. Set a zero vector to disable gravity.

Static _isSharedComp

_isSharedComp: boolean

Static _size

_size: number

Static _view

_view: any

Static cid

cid: number

Static gravity

Methods

Static _dtorFn

  • Parameters

    Returns void

Static _fromPtr

Static _tempHeapPtr

  • Parameters

    Returns number

Static _toPtr

  • Parameters

    Returns void

Generated using TypeDoc