HashColliderProxy
Hierarchy
- HashGridProxy<Collider>
- HashColliderProxy
Index
Constructors
constructor
Parameters
collider: Collider
gridSize: number
Returns HashColliderProxy
Properties
body
bottomY
bottom bounds y hash coordinate
bounds
cells
References to the hash cell the collider is a current member of
publiccollider
collisionType
readonlygridSize
Grid size in pixels
hasZeroBounds
id
leftX
left bounds x hash coordinate
publicobject
owner
rightX
right bounds x hash coordinate
topY
top bounds y hash coordinate
Methods
clear
Clears all collider references
Returns void
hasChanged
Has the hashed bounds changed
Returns boolean
update
Updates the hashed bounds coordinates
Returns void
Proxy type to stash collision info