Struct NativeQuadtree<T>.PopulateJob
Burst accelerated populating of the quadtree. The octree is cleared and the boundary is set based on the min and max AABBS of the objects passed in. Every object is matched by index with it's AABB.
Implements
Unity.Jobs.IJob
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
Namespace: AnyPath.Graphs
Assembly: Assembly-CSharp.dll
Syntax
[BurstCompile]
public struct PopulateJob : IJob
Fields
| Improve this Doc View Sourceaabbs
Declaration
[ReadOnly]
public NativeArray<AABB2D> aabbs
Field Value
Type | Description |
---|---|
Unity.Collections.NativeArray<AABB2D> |
objects
Declaration
[ReadOnly]
public NativeArray<T> objects
Field Value
Type | Description |
---|---|
Unity.Collections.NativeArray<T> |
quadTree
Declaration
public NativeQuadtree<T> quadTree
Field Value
Type | Description |
---|---|
NativeQuadtree<T> |
Methods
| Improve this Doc View SourceExecute()
Declaration
public void Execute()
Implements
Unity.Jobs.IJob