Struct ScyllaKDTree3Core.Node
Flat KD-tree node stored in a contiguous array.
Inherited Members
Namespace: Scylla.Core.Structures
Assembly: ScyllaCore.dll
Syntax
[BurstCompile]
public struct ScyllaKDTree3Core.Node
Fields
Axis
Split axis: 0 = X, 1 = Y, 2 = Z.
Declaration
public byte Axis
Field Value
| Type | Description |
|---|---|
| byte |
Left
Index of the left child node within the node array; -1 if none.
Declaration
public int Left
Field Value
| Type | Description |
|---|---|
| int |
PointIndex
Index into the point/ID arrays.
Declaration
public int PointIndex
Field Value
| Type | Description |
|---|---|
| int |
Right
Index of the right child node within the node array; -1 if none.
Declaration
public int Right
Field Value
| Type | Description |
|---|---|
| int |
SplitValue
Split value on Axis (cached for traversal).
Declaration
public float SplitValue
Field Value
| Type | Description |
|---|---|
| float |