IFXMixerConstruct

The IFXMixerConstruct interface is used to map named motions stored in an IFXMotionResource to named bones in an IFXModelResource. When a motion is pushed onto the play list for an object, an instance of the Mixer Construct called the IFXSkeletonMixer is created, which is used to manipulate the playback for the motion on the object.

Interface Methods

Description

GetSceneGraph

Gets a pointer to the scenegraph

SetMotionResource

Sets a pointer to the IFXMotionResource

GetMotionResource

Gets a pointer to the IFXMotionResource

AddMapping

Maps to named bones

GetEntryList

Gets the entry list of bone names

GetDuration

Gets the duration of the motion

GetType

Gets the type of motion


IFXMixerConstruct::GetSceneGraph(IFXSceneGraph** ppOutSceneGraph)

This method gets a pointer to the scenegraph.

Parameters:

ppOutSceneGraph

Pointer to the scenegraph

Return Values


IFXMixerConstruct::SetMotionResource(IFXMotionResource* pIFXMotionResource)

This method sets a pointer to the IFXMotionResource.

Parameters:

pIFXMotionResource

Pointer to the IFXMotionResource

Return Values:

None


IFXMixerConstruct::GetMotionResource()

This method gets a pointer to the IFXMotionResource.

Parameters:

None

Return Values:

IFXMotionResource*


IFXMixerConstruct::AddMapping( IFXMixerConstruct* pMixer, CIFXString* pBoneName )

This method maps the named bones.

Parameters:

pMixer

Pointer to the IFXMixerConstruct

pBoneName

Name of the bone

Return Values:

None


IFXMixerConstruct::GetEntryList()

This method gets the entry list of bone names.

Parameters:

None

Return Values:

IFXList*


IFXMixerConstruct::GetDuration()

This method gets the duration of the motion.

Parameters:

None

Return Values:

F32


IFXMixerConstruct::GetType()

This method gets the type of motion.

Parameters:

None

Return Values:

MotionType: None, Singletrack, or Multitrack

 

 

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