2021-01-11 20:32:57 -08:00

5.6 KiB
Raw Permalink Blame History

Planck.js API Doc › Globals

Planck.js API Doc

Index

Namespaces

Enumerations

Classes

Interfaces

Type aliases

Type aliases

BodyType

Ƭ BodyType: "static" | "kinematic" | "dynamic"

Defined in index.d.ts:148


ContactCallack

Ƭ ContactCallack: function

Defined in index.d.ts:311

Type declaration:

▸ (manifold: Manifold, xfA: Transform, fixtureA: Fixture, indexA: number, xfB: Transform, fixtureB: Fixture, indexB: number): void & object

Parameters:

Name Type
manifold Manifold
xfA Transform
fixtureA Fixture
indexA number
xfB Transform
fixtureB Fixture
indexB number

EvaluateFunction

Ƭ EvaluateFunction: function

Defined in index.d.ts:321

Type declaration:

▸ (manifold: Manifold, xfA: Transform, fixtureA: Fixture, indexA: number, xfB: Transform, fixtureB: Fixture, indexB: number): void

Parameters:

Name Type
manifold Manifold
xfA Transform
fixtureA Fixture
indexA number
xfB Transform
fixtureB Fixture
indexB number

ShapeType

Ƭ ShapeType: "circle" | "edge" | "polygon" | "chain"

Defined in shape/index.d.ts:6