IFXModel

IFXModel interface contains the data relevant to a 3-D model.

Interface Methods

Description

GetDefaultShaderID

Gets the default shader ID for the model

SetDefaultShaderID

Sets the default shader ID for the model

GetModelResourceID

Gets the model resource ID for the model

SetModelResourceID

Sets the model resource ID for the model

GetStyleID

Gets the Style ID for the Style Palette

SetStyleID

Sets the Style ID for the Style Palette

GetStyleName

Gets the name for the style for the Style Palette

SetStyleName

Sets the name for the style for the Style Palette

GetPhysicsModParam

Gets the Physics Modifier Parameters

SetPhysicsModParam

Sets the Physics Modifier Parameters

GetCollisionGroups

Gets the collision groups

SetCollisionGroups

Sets the collision groups

GetCollisionMask

Gets the collision mask

SetCollisionMask

Sets the collision mask

GetLightMask

Gets the light mask

SetLightMask

Sets the light mask

GetVisibility

Gets the visibility factor

SetVisibility

Sets the visibility factor

GetModelBound

Gets the bounding sphere vectors

UpdateModelBound

Points to an IFXModelData


IFXModel::GetDefaultShaderID( U32* pOutDefaultShaderID )

This method gets the default shader ID for the model.

Parameters:

pOutDefaultShaderID

Pointer to the default Shader ID number

Return Values


IFXModel::SetDefaultShaderID( U32 uInDefaultShaderID )

This method sets the default shader ID for the model.

Parameters:

uInDefaultShaderID

The default Shader ID number

Return Values


IFXModel::GetModelResourceID( U32* )

This method gets the model resource ID for the model.

Parameters:

*OutModelResourceID

Pointer to the model resource ID number

Return Values


IFXModel::SetModelResourceID( U32 )

This method sets the model resource ID for the model.

Parameters:

InModelResourceID

Model resouce ID number

Return Values


IFXModel::GetStyleID( U32* puOutStyleId )

This method gets the Style ID for the Style Palette.

Parameters:

puOutStyleId

Pointer to the style ID number

Return Values


IFXModel::SetStyleID( U32 uInStyleId )

This method sets the Style ID for the Style Palette.

Parameters:

uInStyleId

Style ID number

Return Values


IFXModel::GetStyleName(CIFXString* pOutStyleName)

This method gets a Style name for the Style Palette.

Parameters:

pOutStyleName

Style name

Return Values


IFXModel::SetStyleName(CIFXString* pInStyleName )

This method sets a Style name for the Style Palette.

Parameters:

pInStyleName

Style name

Return Values


IFXModel::GetPhysicsModParam( IFXPhysicsModifierParam** ppOutPhysicsModParam )

This method gets the Physics Modifier Parameters.

Parameters:

ppOutPhysicsModParam

Pointer to the Physics Modifier Parameter

Return Values


IFXModel::SetPhysicsModParam( IFXPhysicsModifierParam* pInPhysicsModParam )

This method sets the Physics Modifier Parameters.

Parameters:

pInPhysicsModParam

Pointer to the Physics Modifier Parameter

Return Values


IFXModel::GetCollisionGroups( )

This method gets the collision groups.

Parameters:

None

Return Values:

U32


IFXModel::SetCollisionGroups( U32 uInCollisionGroups )

This method sets the collision groups.

Parameters:

uInCollisionGroups

Collision group number

Return Values


IFXModel::GetCollisionMask()

This method gets the collision mask.

Parameters:

None

Return Values:

U32


IFXModel::SetCollisionMask( U32 uInCollisionGroups)

This method sets the collision mask.

Parameters:

uInCollisionGroups

Collision group number

Return Values


IFXModel::GetLightMask()

This method gets the light mask.

Parameters:

None

Return Values:

U32


IFXModel::SetLightMask( U32 uInLightGroups )

This method sets the light mask.

Parameters:

uInLightGroups

Light group number

Return Values


IFXModel::GetVisibility()

This method gets the visibility factor.

Parameters:

None

Return Values:

BOOL


IFXModel::SetVisibility( BOOL bInVisible )

This method sets the visibility factor.

Parameters:

bInVisible

Indicates whether visiblity is set

Return Values


IFXModel::GetModelBound( IFXSGVector* pBoundingSphere )

This method gets the bounding sphere vectors.

Parameters:

pBoundingSphere

Pointer to bounding model

Return Values


IFXModel::UpdateModelBound( IFXModelData* pModelData )

This method points to an IFXModelData.

Parameters:

pModelData

Pointer to an IFXModelData

Return Values

 

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