Enum ScyllaQuadtreePlane
Selects which axes are projected into ScyllaAABB2 when converting 3D coordinates for use with the loose quadtree's 2D spatial API.
Namespace: Scylla.Core.Structures
Assembly: ScyllaCore.dll
Syntax
public enum ScyllaQuadtreePlane
Remarks
The quadtree itself operates entirely in 2D using ScyllaAABB2. This enum controls only the projection performed by the convenience overloads on ScyllaLooseQuadtree and by the static helpers in ScyllaLooseQuadtreeUtil.
Choose XZ for top-down or strategy games where Unity's world-space Y axis is up. Choose XY for side-scrollers or 2D games where the camera looks along -Z.
Fields
| Name | Description |
|---|---|
| XY | Projects to the XY plane (standard 2D screen space):
|
| XZ | Projects to the XZ plane (Unity's common ground plane for top-down games):
|