Class PhysicsGravitationalFieldEvent
Hierarchy
- PhysicsGravitationalFieldEvent
Index
Constructors
Methods
Constructors
constructor
-
Initializes the physics gravitational field event
Parameters
-
_physicsHelper: PhysicsHelper
A physics helper
-
_scene: Scene
BabylonJS scene
-
_origin: Vector3
The origin position of the gravitational field event
-
_options: PhysicsRadialExplosionEventOptions
The options for the vortex event
Returns PhysicsGravitationalFieldEvent
-
Methods
disableSearch playground for disable
-
Disables the gravitational field.
Returns void
disposeSearch playground for dispose
-
Disposes the sphere.
Parameters
-
Optional force: boolean
The force to dispose from the gravitational field event
Returns void
-
enableSearch playground for enable
-
Enables the gravitational field.
Returns void
get DataSearch playground for getData
-
Returns the data related to the gravitational field event (sphere).
Returns PhysicsGravitationalFieldEventData
A gravitational field event
Represents a gravitational field event