RaycasterBuckets
Raycasting speed-up for quickly rejecting the bulk of objects.
Constructors
RaycasterBuckets
#Create a new blank bucket grid.
public RaycasterBuckets()
width,
Minimum width (in pixels) this grid must cover.
height,
Minimum height (in pixels) this grid must cover.
size,
Desired size for each bucket.
shapes
shape collection to bucket.