This is the documentation for Enlighten.

class Enlighten PrecompOctreeProbeKey

class Enlighten::PrecompOctreeProbeKey

    └>Enlighten::PrecompVoxelId

Provides an ordering of probe voxel positions by their depth within the octree.

Variables

Name Description
Geo::u32 depth

Depth of the voxel.

Geo::s32 x

Voxel co-ordinates.

Geo::s32 y

Voxel co-ordinates.

Geo::s32 z

Voxel co-ordinates.

Functions

Friends

Name Description
friend void WriteObject(Writer &writer, const PrecompVoxelId &object)

Write to any type compatible with IffWriter.


Enlighten::PrecompOctreeProbeKey::PrecompOctreeProbeKey


public: PrecompOctreeProbeKey
(
    const PrecompVoxelId & voxel
)


Constructor.


Enlighten::PrecompVoxelId::PrecompVoxelId


public: PrecompVoxelId()


Constructors.


Enlighten::PrecompVoxelId::PrecompVoxelId


public: PrecompVoxelId
(
    const Geo::s32 x,
    const Geo::s32 y,
    const Geo::s32 z
)


Constructors.


const PrecompVoxelId& Enlighten::PrecompOctreeProbeKey::Voxel


public: const PrecompVoxelId & Voxel() const


Gets the voxel.