Octree<T> class

class Octree

Annotations
  • @JS()

Constructors

Octree(void creationFunc(T entry, OctreeBlock<T> block), [num maxBlockCapacity, num maxDepth])

Properties

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

Methods

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

Operators

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

Static Properties

CreationFuncForMeshes ↔ void Function(AbstractMesh entry, OctreeBlock<AbstractMesh> block)
getter/setter pair
CreationFuncForSubMeshes ↔ void Function(SubMesh entry, OctreeBlock<SubMesh> block)
getter/setter pair