IFXModelResource

IFXModelResource is the interface used to get and set model properties. Model Resources are managed by the scenegraph, and contained in the Model Resource Palette. IFXModelResource inherits the IFXMarker and IFXUnknown interfaces. It is supported by the CIFXModelResource component.

Interface Methods

Description

GetMRMScreenSpaceControllerState

Gets the space controller state

SetMRMScreenSpaceControllerState

Sets the space controller state

GetLODBias

Gets the Level of Detail bias for the screen space

SetLODBias

Sets the Level of Detail bias for the screen space

GetMRMMax

Gets maximum number of meshes in a multiresolution mesh

GetMRMLevel

Gets the level of meshes in a multiresolution mesh

SetMRMLevel

Sets the level of meshes in a multiresolution mesh

GetMultiResManager

Returns a pointer to the MultiResManager interface

GetNeighborResController

Returns a pointer to the NeighborResController interface

SetExportModelData

Returns pointers to IFXModelData and the MRM manager and controller

GetStylePalette

Returns a handle to the IFXStylePalette

GetIFXStyle

Returns a handle to IFXStyle

GetSceneGraph

Returns a handle to the IFXScenegraph


IFXModelResource::GetMRMScreenSpaceControllerState(BOOL* pbOutOn)

This method gets the space controller state (on or off).

Parameters:

pbOutOn

Pointer to the indicator of whether the space controller state is on or off

Return Values


IFXModelResource::SetMRMScreenSpaceControllerState(BOOL bInOn)

This method sets the space controller state (on or off).

Parameters:

bInOn

Indicates whether the space controller state is on or off

Return Values


IFXModelResource::GetLODBias(F32* pfOutMRMScreenSpaceBias)

This method gets the Level of Detail bias for the screen space.

Parameters:

pfOutMRMScreenSpaceBias

Pointer to Level of Detail Bias

Return Values


IFXModelResource::SetLODBias(F32 fInMRMScreenSpaceBias)

This method sets the Level of Detail bias for the screen space.

Parameters:

fInMRMScreenSpaceBias

Level of Detail Bias

Return Values


IFXModelResource::GetMRMMax(U32* puOutMRMMaxLevel)

This method gets maximum number of meshes in a multiresolution mesh.

Parameters:

puOutMRMMaxLevel

Pointer to MRM level maximum amount

Return Values


IFXModelResource::GetMRMLevel(F32* pfOutMRMLevel)

This method gets the level of meshes in a multiresolution mesh.

Parameters:

pfOutMRMLevel

Pointer to the MRM level

Return Values


IFXModelResource::SetMRMLevel(F32 fInMRMLevel)

This method sets the level of meshes in a multiresolution mesh.

Parameters:

fInMRMLevel

MRM level

Return Values


IFXModelResource::GetMultiResManager(IFXMultiResManagerInterface** ppOut)

This method returns a pointer to the MultiResManager interface.

Parameters:

ppOut

Pointer to the IFXMultiResManagerInterface

Return Values


IFXModelResource::GetNeighborResController(IFXNeighborResControllerInterface** ppOut)

This method returns a pointer to the NeighborResController interface.

Parameters:

ppOut

Pointer to the IFXNeighborResControllerInterface

Return Values


IFXModelResource::SetExportModelData( IFXModelData* pInModelData, IFXMultiResManagerInterface* pMResManInterface,IFXNeighborResControllerInterface* pNResContInterface)

This method returns pointers to IFXModelData and the MRM manager and controller.

Parameters:

pInModelData

Pointer to IFXModelData

pMResManInterface

Pointer to IFXMultiResManagerInterface

pNResContInterface

Pointer to IFXNeighborResControllerInterface

Return Values


IFXModelResource::GetStylePalette(IFXPalette** ppStylePalette)

This method returns a handle to the IFXStylePalette.

Parameters:

ppStylePalette

Handle to the IFXStylePalette

Return Values


IFXModelResource::GetIFXStyle(U32 StyleID, IFXStyle** ppStyle)

This method returns a handle to an IFXStyle and its ID number.

Parameters:

StyleID

Style ID number

ppStyle

Handle to the IFXStyle

Return Values


IFXModelResource::GetSceneGraph(IFXSceneGraph** ppOutSceneGraph)

This method returns a handle to the IFXScenegraph.

Parameters:

ppOutSceneGraph

Handle to the IFXScenegraph

Return Values

 

§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.