class Enlighten IPrecompPackedGeometry

This is the documentation for Enlighten.

class Enlighten IPrecompPackedGeometry

class Enlighten::IPrecompPackedGeometry

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

Handle to the PackedGeometry.

Functions

Name

Description

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