class Enlighten PrecompVoxelOctreeVolume

This is the documentation for Enlighten.

class Enlighten PrecompVoxelOctreeVolume

class Enlighten::PrecompVoxelOctreeVolume

    └>Enlighten::PrecompVoxelOctree

A volume voxel in an octree.

Variables

Name

Description

Name

Description

Geo::v128 m_Basis[3]

Basis vectors of this volume.

Geo::v128 m_Origin

Origin of this volume.

Geo::u32 m_VoxelDepth

Depth of the voxel.

float m_VoxelSize

Size of this voxel.

Geo::Matrix m_VoxelToWorld

Matrix transform from voxel space to world space.

Geo::Matrix m_WorldToVoxel

Matrix transform from world space to voxel space.

Functions

Name

Description



Geo::GeoNonAABoundingBox Enlighten::PrecompVoxelOctreeVolume::GetBoundingBox


public: Geo::GeoNonAABoundingBox GetBoundingBox() const


Gets the bounding box.



static Geo::v128 Enlighten::PrecompVoxelOctreeVolume::GetSubtreeOffset


public: Geo::v128 GetSubtreeOffset
(
    const PrecompVoxelOctreePath & subtreePath,
    Geo::u32 globalDepth,
    float voxelSize
)


Gets the offset of the origin of a subtree relative to the entire octree.



PrecompVoxelId Enlighten::PrecompVoxelOctree::GetVoxel