2021-05-11 18:30:36 -07:00

1.1 KiB
Raw Permalink Blame History

Planck.js API Doc › Globals › ContactID

Class: ContactID

Contact ids to facilitate warm starting.

Hierarchy

  • ContactID

Index

Properties

Accessors

Methods

Properties

cf

• cf: ContactFeature = new ContactFeature()

Defined in src/collision/Manifold.ts:185

Accessors

key

• get key(): number

Defined in src/collision/Manifold.ts:190

Used to quickly compare contact ids.

Returns: number

Methods

set

▸ set(o: ContactID): void

Defined in src/collision/Manifold.ts:194

Parameters:

Name Type
o ContactID

Returns: void