Versions Compared

Key

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

class Enlighten::IPrecompInputProbeOctree

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

Represents a region of 3D space within which sets of probe positions are adaptively generated.

Variables

NameDescription
const float WaterPlaneInvalid

Represents an unspecified water plane.

Functions

NameDescription
Create()

Create a new empty IPrecompInputProbeOctree.

Create(const IPrecompInputProbeRegion *const *, Geo::s32)

Create a new IPrecompInputProbeOctree that represents the specified regions.

Create(const IPrecompInputProbeRegion *const *, Geo::s32, float)

Create a new IPrecompInputProbeOctree that represents the specified regions.

Create(const IPrecompInputProbeRegion *const *, Geo::s32, float, const PrecompMeshProbeRegion &, const PrecompMeshProbeRegion &, WorldAxis, float)

Create a new IPrecompInputProbeOctree that represents the specified regions.

Create(const IPrecompInputProbeRegion *const *, Geo::s32, float, WorldAxis, float)

Create a new IPrecompInputProbeOctree that represents the specified regions.

GetBuildParameters()

Edit the build parameters for this probe octree.

GetBuildParameters()

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

GetName()

Get the full name.

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.

SetName(const char *)

Set a globally unique name.


Anchor
a0aa9895212c407f164983d2ba3c268fd
a0aa9895212c407f164983d2ba3c268fd

static IPrecompInputProbeOctree* Enlighten::IPrecompInputProbeOctree::Create

...

public: IPrecompInputProbeOctree * Create()

...

Create a new empty IPrecompInputProbeOctree.


Anchor
a2fdda4cdca8617b69b7342448bfecacd
a2fdda4cdca8617b69b7342448bfecacd

static IPrecompInputProbeOctree* Enlighten::IPrecompInputProbeOctree::Create

...

public: IPrecompInputProbeOctree * Create
(
    const IPrecompInputProbeRegion *const * regions,
    Geo::s32 count
)

...

Create a new IPrecompInputProbeOctree that represents the specified regions.

Parameters
[in]regions

The regions which combined represent the desired volume. Note: object lifetime must be at least the duration of this function call.

[in]count

The number of entries in the regions array.


Anchor
aa8a7adebbcd9618c1f5e48b821a45f9f
aa8a7adebbcd9618c1f5e48b821a45f9f

static IPrecompInputProbeOctree* Enlighten::IPrecompInputProbeOctree::Create

...

public: IPrecompInputProbeOctree * Create
(
    const IPrecompInputProbeRegion *const * regions,
    Geo::s32 regionCount,
    float voxelSize
)

...

Create a new IPrecompInputProbeOctree that represents the specified regions.

Parameters
[in]regions

The regions to include in the volume. Note: object lifetime must be at least the duration of this function call.

[in]regionCount

The number of entries in the regions array.

[in]voxelSize

The size of the smallest possible voxel used to represent the region of 3D space.


Anchor
af2e3bd72dbeb896b14f5a701ef2b52b8
af2e3bd72dbeb896b14f5a701ef2b52b8

static IPrecompInputProbeOctree* Enlighten::IPrecompInputProbeOctree::Create

...

public: IPrecompInputProbeOctree * Create
(
    const IPrecompInputProbeRegion *const * regions,
    Geo::s32 regionCount,
    float voxelSize,
    const PrecompMeshProbeRegion & surfaceRegion,
    const PrecompMeshProbeRegion & terrainRegion,
    WorldAxis verticalAxis,
    float waterPlane
)

...

Create a new IPrecompInputProbeOctree that represents the specified regions.

Parameters
[in]regions

The regions to include in the volume. Note: object lifetime must be at least the duration of this function call.

[in]regionCount

The number of entries in the regions array.

[in]voxelSize

The size of the smallest possible voxel used to represent the region of 3D space.

[in]surfaceRegion

The surfaces to include in the volume

[in]terrainRegion

The terrains to include in the volume.

[in]verticalAxis

The axis aligned vector pointing directly upwards.

[in]waterPlane

If the value is not WaterPlaneInvalid, probes are placed for terrain only above the plane defined by this distance and the vertical axis.


Anchor
a827b4975c5ce252e752eec7ac969653c
a827b4975c5ce252e752eec7ac969653c

static IPrecompInputProbeOctree* Enlighten::IPrecompInputProbeOctree::Create

...

public: IPrecompInputProbeOctree * Create
(
    const IPrecompInputProbeRegion *const * regions,
    Geo::s32 regionCount,
    float voxelSize,
    WorldAxis verticalAxis,
    float waterPlane
)

...

Create a new IPrecompInputProbeOctree that represents the specified regions.

Parameters
[in]regions

The regions to include in the volume. Note: object lifetime must be at least the duration of this function call.

[in]regionCount

The number of entries in the regions array.

[in]voxelSize

The size of the smallest possible voxel used to represent the region of 3D space.

[in]verticalAxis

The axis aligned vector pointing directly upwards.

[in]waterPlane

If the value is not WaterPlaneInvalid, probes are placed for terrain only above the plane defined by this distance and the vertical axis.


Anchor
a6e877fefe32f8495c709c71f8668cb4a
a6e877fefe32f8495c709c71f8668cb4a

virtual IPrecompProbeSetBuildParameters* Enlighten::IPrecompInputProbeOctree::GetBuildParameters

...

public: IPrecompProbeSetBuildParameters * GetBuildParameters()

...

Edit the build parameters for this probe octree.


Anchor
a6d6388ec6bb976503e4371ce804322ce
a6d6388ec6bb976503e4371ce804322ce

virtual const IPrecompProbeSetBuildParameters* Enlighten::IPrecompInputProbeOctree::GetBuildParameters

...

public: const IPrecompProbeSetBuildParameters * GetBuildParameters() const

...

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


Anchor
a25b59763693a2afb72479a49e257dadf
a25b59763693a2afb72479a49e257dadf

virtual const char* Enlighten::IPrecompInputProbeOctree::GetName

...

public: const char * GetName() const

...

Get the full name.


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
adaed81b4c59f263dcb4e78c4126f4683
adaed81b4c59f263dcb4e78c4126f4683

Geo::NonCopyable::NonCopyable

...

public: NonCopyable
(
    NonCopyable &&
)

...

Defaulted to allow move.


Anchor
a6abc781e23b8f4864e0b868806e0acbf
a6abc781e23b8f4864e0b868806e0acbf

NonCopyable& Geo::NonCopyable::operator=

...

public: NonCopyable & operator=
(
    NonCopyable &&
)

...

Defaulted to allow move.


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.


Anchor
a698ccccd87bee88fd8430d7b8005177b
a698ccccd87bee88fd8430d7b8005177b

virtual void Enlighten::IPrecompInputProbeOctree::SetName

...

public: void SetName
(
    const char * name
)

...

Set a globally unique name.