OctreeBlock<T> class

class OctreeBlock

Annotations
  • @JS()

Constructors

OctreeBlock(Vector3 minPoint, Vector3 maxPoint, num capacity, num depth, num maxDepth, void creationFunc(T entry, OctreeBlock<T> block))

Properties

blocks List<OctreeBlock<T>>
getter/setter pair
capacity num
no setter
entries List<T>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxPoint Vector3
no setter
minPoint Vector3
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEntries(List<T> entries) → void
addEntry(T entry) → void
createInnerBlocks() → void
intersects(Vector3 sphereCenter, num sphereRadius, SmartArrayNoDuplicate<T> selection, [bool allowDuplicate]) → void
intersectsRay(Ray ray, SmartArrayNoDuplicate<T> selection) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEntry(T entry) → void
select(List<Plane> frustumPlanes, SmartArrayNoDuplicate<T> selection, [bool allowDuplicate]) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited