Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten API 3.10 Documentation
Results will update as you type.
  • class Enlighten ILightTransportOutput
  • class Enlighten ILimiter
  • class Enlighten ILogHandler
  • class Enlighten IMeshSimpOutput
  • class Enlighten ImporterScene
  • class Enlighten IncidentLightingBuffer
  • class Enlighten IndirectInputLightingInternalParameters
  • class Enlighten IndirectInputLightingParameters
  • class Enlighten InputLightBase
  • class Enlighten InputLightFalloffTable
  • class Enlighten InputLightingBuffer
  • class Enlighten InputOctreeBuilder
  • class Enlighten InputTextureSamplerParameters
  • class Enlighten InputWorkspace
  • class Enlighten InputWorkspaceDebugIterator
  • class Enlighten InputWorkspaceDebugPoint
  • class Enlighten InputWorkspaceDynamicInternal
  • class Enlighten InputWorkspaceInternal
  • class Enlighten InputWorkspaceMetaData
  • class Enlighten InternalLightFalloffTable
  • class Enlighten InterpolatedPoint
  • class Enlighten InterpolationInputSet
  • class Enlighten IPppiTextureUpdateHandler
  • class Enlighten IPrecompBuildParameters
  • class Enlighten IPrecompCubeMapBuildParameters
  • class Enlighten IPrecompCubeMapCore
  • class Enlighten IPrecompDepthCubeMap
  • class Enlighten IPrecompGeneratedSystems
  • class Enlighten IPrecompInputCubeMap
  • class Enlighten IPrecompInputGeometry
  • class Enlighten IPrecompInputItemDependencies
  • class Enlighten IPrecompInputMesh
  • class Enlighten IPrecompInputProbeOctree
  • class Enlighten IPrecompInputProbeRegion
  • class Enlighten IPrecompInputProbeSet
  • class Enlighten IPrecompInputSystem
  • class Enlighten IPrecompMeshValidation
  • class Enlighten IPrecompOutputCubeMap
  • class Enlighten IPrecompOutputProbeOctree
  • class Enlighten IPrecompOutputProbeSet
  • class Enlighten IPrecompPackedGeometry
  • class Enlighten IPrecompPackedInstance
  • class Enlighten IPrecompPackedSystem
  • class Enlighten IPrecompProbeSetBuildParameters
  • class Enlighten IPrecompProbeSetRadiosity
  • class Enlighten IPrecompRadiosityNormalTexture
  • class Enlighten IPrecompSystemClustering
  • class Enlighten IPrecompSystemCompressedLightTransport
  • class Enlighten IPrecompSystemDependencies
  • class Enlighten IPrecompSystemDuster
  • class Enlighten IPrecompSystemLightTransport
  • class Enlighten IPrecompSystemPreClustering
  • class Enlighten IPrecompSystemRadiosity
  • class Enlighten IPrecompSystemsDependencies
  • class Enlighten IPrecompute
  • class Enlighten IPrecomputeLoaderCubeMap
  • class Enlighten IPrecomputeLoaderGeometry
  • class Enlighten IPrecomputeLoaderProbeSet
  • class Enlighten IPrecomputeLoaderSystem
  • class Enlighten IPrecompVolumeQuery
  • class Enlighten IProbeSetManager
  • class Enlighten IrradianceOutputDesc
  • class Enlighten ISystemSolutionSpace
  • class Enlighten IThreadGroup
  • class Enlighten IUpdateManager
  • class Enlighten IUpdateManagerWorker
  • class Enlighten IViewVolumeIntersector
  • class Enlighten LightMethodSelector
  • class Enlighten LightTransportPixel
  • class Enlighten LightValue64
  • class Enlighten LightValueIterator
  • class Enlighten Line2D
  • class Enlighten LongRunningProcess
  • class Enlighten LrbCpuTextureSampler
  • class Enlighten MaterialAlbedoSampler
  • class Enlighten MaterialComponentBuffer
  • class Enlighten MaterialEmissiveSampler
  • class Enlighten MaterialGuids
  • class Enlighten MaterialSampler
  • class Enlighten MaterialTransparencySampler
  • class Enlighten MergeGeometry
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
class Enlighten IPrecompPackedGeometry

    This is the documentation for Enlighten.

    class Enlighten IPrecompPackedGeometry

    Nov 21, 2019

    class Enlighten::IPrecompPackedGeometry

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

    Handle to the PackedGeometry.

    Functions

    Name Description
    Create()

    Create a new empty IPrecompPackedGeometry.

    GetBoundingBox()

    Get the axis aligned bounding box of the radiosity geometry.

    GetId()

    Return the unique ID of this geometry.

    GetInputMesh(Geo::s32)

    Get the mesh at a given index.

    GetLod(Geo::s32)

    Get a given (lodIndex) Lod of this geometry.

    GetMeshProperties(Geo::s32)

    Get the mesh properties for a given index.

    GetName()

    Get the full name.

    GetNumLods()

    Get number of Lods of this geometry.

    GetNumMeshes()

    Returns the number of meshes in the output geometry.

    GetNumVerts(Geo::s32)

    Returns the number of vertices in the output geometry for the given mesh index.

    GetOutputChartIdsArray(Geo::s32)

    Returns a pointer to a per-vertex chart id information for the given mesh id.

    GetOutputUvArray(Geo::s32)

    Returns a pointer to the per-vertex uvs for the given mesh index.

    GetOutputUvSize()

    Returns the size of the UV texture for which the UV coordinates were calculated.

    GetProjectionCost()

    Get the projection cost for the geometry.

    GetProjectionCost(Geo::s32)

    Get the projection cost for an individual mesh.

    GetSurfaceArea()

    Get the estimated surface area of the radiosity geometry.

    GetTargetUsagePercentage()

    Get the percentage of the output UV texture occupied.

    GetUVArea()

    Get the estimated UV surface area of the radiosity geometry.

    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.


    static IPrecompPackedGeometry* Enlighten::IPrecompPackedGeometry::Create


    public: IPrecompPackedGeometry * Create()


    Create a new empty IPrecompPackedGeometry.

    You can load data into an empty class with the IGeoSerialisable interface.


    virtual Geo::GeoBoundingBox Enlighten::IPrecompPackedGeometry::GetBoundingBox


    public: Geo::GeoBoundingBox GetBoundingBox() const


    Get the axis aligned bounding box of the radiosity geometry.


    virtual Geo::GeoGuid Enlighten::IPrecompPackedGeometry::GetId


    public: Geo::GeoGuid GetId() const


    Return the unique ID of this geometry.


    virtual const IPrecompInputMesh* Enlighten::IPrecompPackedGeometry::GetInputMesh


    public: const IPrecompInputMesh * GetInputMesh
    (
        Geo::s32 idx
    ) const


    Get the mesh at a given index.

    Parameters
    [in] idx

    The index for the mesh, returned by the AddMesh call in IPrecompInputGeometry. Must be in the range 0 <= idx < GetNumMeshes().

    Returns

    A copy of the input mesh (after required internal preprocessing such as autoUVs or face winding changes), or NULL if the index is out of range.


    virtual const IPrecompPackedGeometry* Enlighten::IPrecompPackedGeometry::GetLod


    public: const IPrecompPackedGeometry * GetLod
    (
        Geo::s32 lodIndex
    ) const


    Get a given (lodIndex) Lod of this geometry.

    GetLod(0) will return the geometry itself. If lodIndex if greater or equal than value returned by GetNumLods(), then the last (lowest quality) Lod is returned.


    virtual const PrecompMeshProperties* Enlighten::IPrecompPackedGeometry::GetMeshProperties


    public: const PrecompMeshProperties * GetMeshProperties
    (
        Geo::s32 idx
    ) const


    Get the mesh properties for a given index.

    Parameters
    [in] idx

    The index for the mesh, returned by the AddMesh call in IPrecompInputGeometry. Must be in the range 0 <= idx < GetNumMeshes().

    Returns

    The mesh properties provided by the user in the input geometry class, or NULL if the index is out of range.


    virtual const char* Enlighten::IPrecompPackedGeometry::GetName


    public: const char * GetName() const


    Get the full name.


    virtual Geo::s32 Enlighten::IPrecompPackedGeometry::GetNumLods


    public: Geo::s32 GetNumLods() const


    Get number of Lods of this geometry.


    virtual Geo::s32 Enlighten::IPrecompPackedGeometry::GetNumMeshes


    public: Geo::s32 GetNumMeshes() const


    Returns the number of meshes in the output geometry.


    virtual Geo::s32 Enlighten::IPrecompPackedGeometry::GetNumVerts


    public: Geo::s32 GetNumVerts
    (
        Geo::s32 idx
    ) const


    Returns the number of vertices in the output geometry for the given mesh index.

    Note

    This will return -1 if the mesh did not have uvs generated for it.

    See Also

    PrecompMeshProperties


    virtual const Geo::s32* Enlighten::IPrecompPackedGeometry::GetOutputChartIdsArray


    public: const Geo::s32 * GetOutputChartIdsArray
    (
        Geo::s32 id
    ) const


    Returns a pointer to a per-vertex chart id information for the given mesh id.


    virtual const Geo::GeoPoint2* Enlighten::IPrecompPackedGeometry::GetOutputUvArray


    public: const Geo::GeoPoint2 * GetOutputUvArray
    (
        Geo::s32 id
    ) const


    Returns a pointer to the per-vertex uvs for the given mesh index.

    Note

    This will return NULL if the mesh did not have uvs generated for it.

    See Also

    PrecompMeshProperties


    virtual Geo::GeoPair<Geo::s32, Geo::s32> Enlighten::IPrecompPackedGeometry::GetOutputUvSize


    public: Geo::GeoPair< Geo::s32, Geo::s32 > GetOutputUvSize() const


    Returns the size of the UV texture for which the UV coordinates were calculated.


    virtual float Enlighten::IPrecompPackedGeometry::GetProjectionCost


    public: float GetProjectionCost() const


    Get the projection cost for the geometry.

    Lower is better.

    Note

    This measure is not comparable between meshes. Only compare it with different projections of the same mesh.


    virtual float Enlighten::IPrecompPackedGeometry::GetProjectionCost


    public: float GetProjectionCost
    (
        Geo::s32 meshIdx
    ) const


    Get the projection cost for an individual mesh.

    Lower is better.

    Note

    This measure is not comparable between meshes. Only compare it with different projections of the same mesh.


    virtual float Enlighten::IPrecompPackedGeometry::GetSurfaceArea


    public: float GetSurfaceArea() const


    Get the estimated surface area of the radiosity geometry.


    virtual float Enlighten::IPrecompPackedGeometry::GetTargetUsagePercentage


    public: float GetTargetUsagePercentage() const


    Get the percentage of the output UV texture occupied.


    virtual float Enlighten::IPrecompPackedGeometry::GetUVArea


    public: float GetUVArea() const


    Get the estimated UV surface area of the radiosity geometry.


    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.


    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)'


    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.

    , multiple selections available,
    {"serverDuration": 10, "requestCorrelationId": "410a2104db70428cb03b494f35ff088f"}