HashGridProxy <T>
Hierarchy
- HashGridProxy
Index
Constructors
Properties
Methods
Constructors
constructor
Type parameters
- T: { bounds: BoundingBox }
Parameters
object: T
gridSize: number
Returns HashGridProxy<T>
Properties
bottomY
bounds
cells
readonlygridSize
Grid size in pixels
hasZeroBounds
id
leftX
left bounds x hash coordinate
publicobject
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
updateBounds
Update bounds of the proxy
Returns void
bottom bounds y hash coordinate