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.

AddSolid(ProbeOctreeResolution, const Geo::Matrix &, Geo::StridedArrayView< PrecompIndex3 >, Geo::StridedArrayView< Geo::GeoPoint3 >)

Extend by the volume of the specified closed triangle mesh.

AddSurface(ProbeOctreeResolution, const Geo::Matrix &, Geo::StridedArrayView< PrecompIndex3 >, Geo::StridedArrayView< Geo::GeoPoint3 >)

Extend by the surface of the specified triangle mesh.

AddTerrain(ProbeOctreeResolution, const Geo::Matrix &, Geo::StridedArrayView< PrecompIndex3 >, Geo::StridedArrayView< Geo::GeoPoint3 >)

Extend by the terrain of the specified triangle mesh.

Create()

Create a new empty IPrecompInputProbeRegion.

GetBoxCount(ProbeOctreeResolution)

Return the number of boxes previously added at the specified resolution.

GetBoxes(ProbeOctreeResolution)

Return the array of boxes previously added at the specified resolution.

GetPointCount(ProbeOctreeResolution)

Return the number of points previously added at the specified resolution.

GetPoints(ProbeOctreeResolution)

Return the array of points previously added at the specified resolution.

GetSolidCount(ProbeOctreeResolution)

Return the number of solids previously added at the specified resolution.

GetSolidFaceCount(ProbeOctreeResolution, Geo::u32)

Return the face count for the solid previously added at the specified resolution and index.

GetSolidFaces(ProbeOctreeResolution, Geo::u32)

Return the face array for the solid previously added at the specified resolution and index.

GetSolidTransform(ProbeOctreeResolution, Geo::u32)

Return the transform for the solid previously added at the specified resolution and index.

GetSolidVertexCount(ProbeOctreeResolution, Geo::u32)

Return the vertex count for the solid previously added at the specified resolution and index.

GetSolidVertices(ProbeOctreeResolution, Geo::u32)

Return the vertex array for the solid previously added at the specified resolution and index.

Load(IGeoInputStream &, Geo::u32)

Load an instance of this class from an IGeoInputStream.

NonCopyable(NonCopyable &&)

Defaulted to allow move.

operator=(NonCopyable &&)

Defaulted to allow move.

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.