Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::IPrecompOutputProbeSet

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

Handle to the LightTransport data for probesets.

Functions

NameDescription
Create()

Create a new empty IPrecompOutputProbeSet.

GetBoundingBoxBasisX()

Get the first basis vector of the non-axis aligned bounding box.

GetBoundingBoxBasisY()

Get the second basis vector of the non-axis aligned bounding box.

GetBoundingBoxBasisZ()

Get the third basis vector of the non-axis aligned bounding box.

GetBoundingBoxOrigin()

Get the origin of the non-axis aligned bounding box.

GetBuildParameters()

Read only access to the build parameters for this probe set.

GetId()

Return the unique ID of this light probe set.

GetName()

Get the full name.

GetNumProbes()

Return the number of probes contained in this light probe set.

GetProbeEnvironmentVisibility()

Access the light probe environment visibility. Data is encoded as a standard L2 spherical harmonic with 9 coefficients per probe.

GetProbePositions()

Access the light probe positions.

GetRegularGridResolutionX()

Get the resolution of the regular grid in the direction of the first bounding box basis vector.

GetRegularGridResolutionY()

Get the resolution of the regular grid in the direction of the second bounding box basis vector.

GetRegularGridResolutionZ()

Get the resolution of the regular grid in the direction of the third bounding box basis vector.

IsOctree()

Returns true if this probe set was generated for a probe octree.

IsRegularGrid()

Returns if this probe set is a probe grid.

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.


Anchor
a14a5e6b3ea9998f739495f06f3c79684
a14a5e6b3ea9998f739495f06f3c79684

static IPrecompOutputProbeSet* Enlighten::IPrecompOutputProbeSet::Create

...

public: IPrecompOutputProbeSet * Create()

...

Create a new empty IPrecompOutputProbeSet.


Anchor
a48c1f17883248616145a6ce14a729f7c
a48c1f17883248616145a6ce14a729f7c

virtual const Geo::v128& Enlighten::IPrecompOutputProbeSet::GetBoundingBoxBasisX

...

public: const Geo::v128 & GetBoundingBoxBasisX() const

...

Get the first basis vector of the non-axis aligned bounding box.


Anchor
af241012abe6c020696d08c2cee43d5e3
af241012abe6c020696d08c2cee43d5e3

virtual const Geo::v128& Enlighten::IPrecompOutputProbeSet::GetBoundingBoxBasisY

...

public: const Geo::v128 & GetBoundingBoxBasisY() const

...

Get the second basis vector of the non-axis aligned bounding box.


Anchor
a9944c2c491fcde68542b2b2a459e7d98
a9944c2c491fcde68542b2b2a459e7d98

virtual const Geo::v128& Enlighten::IPrecompOutputProbeSet::GetBoundingBoxBasisZ

...

public: const Geo::v128 & GetBoundingBoxBasisZ() const

...

Get the third basis vector of the non-axis aligned bounding box.


Anchor
ae4d25c543771bd6b0ba392fb8a15fe5d
ae4d25c543771bd6b0ba392fb8a15fe5d

virtual const Geo::v128& Enlighten::IPrecompOutputProbeSet::GetBoundingBoxOrigin

...

public: const Geo::v128 & GetBoundingBoxOrigin() const

...

Get the origin of the non-axis aligned bounding box.


Anchor
a91b68b33949fac211f5075c0dac58861
a91b68b33949fac211f5075c0dac58861

virtual const IPrecompProbeSetBuildParameters* Enlighten::IPrecompOutputProbeSet::GetBuildParameters

...

public: const IPrecompProbeSetBuildParameters * GetBuildParameters() const

...

Read only access to the build parameters for this probe set.


Anchor
a591484b97403364a07f16f330e25841a
a591484b97403364a07f16f330e25841a

virtual Geo::GeoGuid Enlighten::IPrecompOutputProbeSet::GetId

...

public: Geo::GeoGuid GetId() const

...

Return the unique ID of this light probe set.


Anchor
a86b254b2ee49e4daa7f2851ed1f370eb
a86b254b2ee49e4daa7f2851ed1f370eb

virtual const char* Enlighten::IPrecompOutputProbeSet::GetName

...

public: const char * GetName() const

...

Get the full name.


Anchor
aab90db26a4623f1fca0363450300d5d2
aab90db26a4623f1fca0363450300d5d2

virtual Geo::s32 Enlighten::IPrecompOutputProbeSet::GetNumProbes

...

public: Geo::s32 GetNumProbes() const

...

Return the number of probes contained in this light probe set.


Anchor
a63c19dbd31e54e5a7eac1bd3a851937b
a63c19dbd31e54e5a7eac1bd3a851937b

virtual const float* Enlighten::IPrecompOutputProbeSet::GetProbeEnvironmentVisibility

...

public: const float * GetProbeEnvironmentVisibility() const

...

Access the light probe environment visibility. Data is encoded as a standard L2 spherical harmonic with 9 coefficients per probe.


Anchor
aa3b729cbe25a4f7df524b90c8ed04fac
aa3b729cbe25a4f7df524b90c8ed04fac

virtual const Geo::v128* Enlighten::IPrecompOutputProbeSet::GetProbePositions

...

public: const Geo::v128 * GetProbePositions() const

...

Access the light probe positions.


Anchor
ae3ba2b78006a4cef644deee6101ef472
ae3ba2b78006a4cef644deee6101ef472

virtual Geo::s32 Enlighten::IPrecompOutputProbeSet::GetRegularGridResolutionX

...

public: Geo::s32 GetRegularGridResolutionX() const

...

Get the resolution of the regular grid in the direction of the first bounding box basis vector.


Anchor
a1e20c2691f138cddc787631fdf93c03a
a1e20c2691f138cddc787631fdf93c03a

virtual Geo::s32 Enlighten::IPrecompOutputProbeSet::GetRegularGridResolutionY

...

public: Geo::s32 GetRegularGridResolutionY() const

...

Get the resolution of the regular grid in the direction of the second bounding box basis vector.


Anchor
abb95ca86d7ca563c35d41480fdc9606a
abb95ca86d7ca563c35d41480fdc9606a

virtual Geo::s32 Enlighten::IPrecompOutputProbeSet::GetRegularGridResolutionZ

...

public: Geo::s32 GetRegularGridResolutionZ() const

...

Get the resolution of the regular grid in the direction of the third bounding box basis vector.


Anchor
acdb32031fa72f02eb0403fe23504a685
acdb32031fa72f02eb0403fe23504a685

virtual bool Enlighten::IPrecompOutputProbeSet::IsOctree

...

public: bool IsOctree() const

...

Returns true if this probe set was generated for a probe octree.


Anchor
a286c342d5330316d0144b07ef6197300
a286c342d5330316d0144b07ef6197300

virtual bool Enlighten::IPrecompOutputProbeSet::IsRegularGrid

...

public: bool IsRegularGrid() const

...

Returns if this probe set is a probe grid.

This is only true if the probe positions form a single fully occupied regular grid and there are no duplicates or probe positions outside of the grid.


Anchor
ae5fb810c8f4470cb3c9fcb16c6f7f7fe
ae5fb810c8f4470cb3c9fcb16c6f7f7fe

virtual bool Geo::IGeoSerialisable::Load

...

public: bool Load
(
    IGeoInputStream & stream,
    Geo::u32 section
)

...

Load an instance of this class from an IGeoInputStream.

The stream must be ready to read from. You can load sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will load all sections. It is also safe to call this method on an object multiple times with different section arguments to load multiple parts.


Anchor
af6bdf30b42adde386c428e9dc2821eb9
af6bdf30b42adde386c428e9dc2821eb9

virtual void Geo::IGeoReleasable::Release

...

public: void Release()

...

Free this object that was created within the Enlighten libraries.

Expect this to behave in a similar way to calling 'delete(this)'


Anchor
a5b03439626a3dac9b9c27feb1a3978d3
a5b03439626a3dac9b9c27feb1a3978d3

virtual bool Geo::IGeoSerialisable::Save

...

public: bool Save
(
    IGeoStream & stream,
    Geo::u32 section
) const

...

Save an instance of this class to an IGeoStream.

The stream must be ready to write to. You can save sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will save all sections that are available.