class Enlighten::PrecompOctreeProbeKey
Provides an ordering of probe voxel positions by their depth within the octree.
Functions
Name | Description |
---|---|
Depth() | Gets the depth. |
PrecompOctreeProbeKey(const PrecompVoxelId &) | Constructor. |
PrecompOctreeProbeKey(const PrecompVoxelId &, Geo::u32) | Constructor. |
PrecompVoxelId() | Constructors. |
PrecompVoxelId(const Geo::s32, const Geo::s32, const Geo::s32) | Constructors. |
Priority() | Gets the priority. |
Voxel() | Gets the voxel. |
Friends
Name | Description |
---|---|
friend bool operator!=(const PrecompOctreeProbeKey &l, const PrecompOctreeProbeKey &r) | Returns true if the keys are not equal. |
friend bool operator<(const PrecompOctreeProbeKey &l, const PrecompOctreeProbeKey &r) | Returns true if the left argument is ordered before the right argument. |
friend bool operator==(const PrecompOctreeProbeKey &l, const PrecompOctreeProbeKey &r) | Returns true if the keys are equal. |
friend void WriteObject(Writer &writer, const PrecompVoxelId &object) | Write to any type compatible with IffWriter. |
Variables
Name | Description |
---|---|
Geo::s32 x | Voxel co-ordinates. |
Geo::s32 y | Voxel co-ordinates. |
Geo::s32 z | Voxel co-ordinates. |
Anchor | ||||
---|---|---|---|---|
|
Geo::u32 Enlighten::PrecompOctreeProbeKey::Depth
...
public: Geo::u32 Depth() const
...
Gets the depth.
Anchor | ||||
---|---|---|---|---|
|
Enlighten::PrecompOctreeProbeKey::PrecompOctreeProbeKey
...
public: PrecompOctreeProbeKey
(
const PrecompVoxelId & voxel
)
...
Constructor.
Anchor | ||||
---|---|---|---|---|
|
Enlighten::PrecompOctreeProbeKey::PrecompOctreeProbeKey
...
public: PrecompOctreeProbeKey
(
const PrecompVoxelId & voxel,
Geo::u32 priority
)
...
Constructor.
Anchor | ||||
---|---|---|---|---|
|
Enlighten::PrecompVoxelId::PrecompVoxelId
...
public: PrecompVoxelId()
...
Constructors.
Anchor | ||||
---|---|---|---|---|
|
Enlighten::PrecompVoxelId::PrecompVoxelId
...
public: PrecompVoxelId
(
const Geo::s32 x,
const Geo::s32 y,
const Geo::s32 z
)
...
Constructors.
Anchor | ||||
---|---|---|---|---|
|
Geo::u32 Enlighten::PrecompOctreeProbeKey::Priority
...
public: Geo::u32 Priority() const
...
Gets the priority.
Anchor | ||||
---|---|---|---|---|
|
const PrecompVoxelId& Enlighten::PrecompOctreeProbeKey::Voxel
...
public: const PrecompVoxelId & Voxel() const
...
Gets the voxel.