class Enlighten IPrecompInputProbeRegion

This is the documentation for Enlighten.

class Enlighten IPrecompInputProbeRegion

class Enlighten::IPrecompInputProbeRegion

    └>Geo::IGeoSerialisable
        └>Geo::IGeoReleasable

Represents a region of 3D space voxelized at various resolutions.

Functions

Name

Description

Name

Description

AddBoxes(ProbeOctreeResolution, const Geo::GeoBoundingBox *, Geo::s32)

Extend by the specified array of boxes.

AddPoints(ProbeOctreeResolution, const Geo::v128 *, Geo::s32)

Extend by the specified array of points.

AddVolume(ProbeOctreeResolution, const IPrecompVolumeQuery &)

Extend by the specified volume.

Create()

Create a new empty IPrecompInputProbeRegion.

Create(float)

Create a new IPrecompInputProbeRegion that represents a region of 3D space with voxels of the specified size.

Load(IGeoInputStream &, Geo::u32)

Load an instance of this class from an IGeoInputStream.

Release()

Free this object that was created within the Enlighten libraries.

Save(IGeoStream &, Geo::u32)

Save an instance of this class to an IGeoStream.



virtual void Enlighten::IPrecompInputProbeRegion::AddBoxes


public: void AddBoxes
(
    ProbeOctreeResolution resolution,
    const Geo::GeoBoundingBox * boxes,
    Geo::s32 count
)


Extend by the specified array of boxes.

 

Parameters

[in]

resolution

The desired resolution.

[in]

boxes

An array of boxes for which probes will be placed.

[in]

count

Number of boxes in the boxes array.

 



virtual void Enlighten::IPrecompInputProbeRegion::AddPoints


public: void AddPoints
(
    ProbeOctreeResolution resolution,
    const Geo::v128 * points,
    Geo::s32 count
)


Extend by the specified array of points.

 

Parameters

[in]

resolution

The desired resolution.

[in]

points

An array of points for which probes will be placed at the specified resolution.

[in]

count

Number of points in the points array.