Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

U3D_IDTF::SceneUtilities Class Reference

This is the implementation of a class that is used to create U3D scene objects. More...

#include <HU3DHelper.h>

List of all members.

Public Member Functions

IFXRESULT AddAnimationModifier (const IFXString &rModName, const IFXString &rModChainType, BOOL isKeyFrameModifier, IFXAnimationModifier **ppAnimationModifier)
IFXRESULT AddBoneWeightModifier (const IFXString &rModName, const IFXString &rModChainType, IFXBoneWeightsModifier **ppBoneWeightModifier)
IFXRESULT AddCLODModifier (const IFXString &rModName, const IFXString &rModChainType, IFXCLODModifier **ppCLODModifier)
IFXRESULT AddGlyphModifier (const IFXString &rModName, const IFXString &rModChainType, F64 defaultWidth, F64 defaultSpacing, F64 defaultHeight, IFXGlyphCommandList *pCommandList, IFXGlyph2DModifier **ppGlyph2DModifier)
IFXRESULT AddModifier (const IFXString &rModName, const IFXString &rModChainType, IFXModifier *pModifier)
IFXRESULT AddShadingModifier (const IFXString &rModName, const IFXString &rModChainType, IFXShadingModifier **ppShadingModifier)
IFXRESULT AddSubdivisionModifier (const IFXString &rModName, const IFXString &rModChainType, IFXSubdivModifier **ppSubDiv)
IFXRESULT AddTexturePaletteEntry (const IFXString &rName, U32 *pTextureId)
IFXRESULT AssignAnimationToModifier (IFXAnimationModifier *pAnimationModifer, const IFXString &rMotionName, F32 rTimeOffset=0.0, F32 rTimeScale=1.0, BOOL loop=TRUE, BOOL sync=FALSE)
 Queues up a named motion into an animation modifier.
IFXRESULT ClearPalette (IFXSceneGraph::EIFXPalette paletteType, IFXPalette *pPalette, BOOL bClearDefaultEntryAlso)
IFXRESULT CompressMotionTracks (IFXMotionResource *MotionResource)
IFXRESULT CreateFileReference (const IFXString &rName, IFXFileReference **ppFileReference)
IFXRESULT CreateGroupNode (const IFXString &rNodeName, IFXNode **ppNode)
IFXRESULT CreateLightNode (const IFXString &rNodeName, const IFXString &rResourceName, IFXLight **ppLight)
IFXRESULT CreateLightResource (const IFXString &rName, IFXLightResource **ppLightResource)
IFXRESULT CreateLineSetResource (const IFXString &rName, IFXAuthorLineSet *pLineSet, U32 uModelPriority, IFXAuthorLineSetResource **ppModel)
IFXRESULT CreateMaterial (const IFXString &rMaterial, IFXMaterialResource **ppMaterial)
IFXRESULT CreateMeshResource (const IFXString &rName, IFXAuthorMesh *pMesh, IFXAuthorGeomCompilerParams &rParams, IFXAuthorCLODResource **ppModel, U32 *pResourceId=NULL)
IFXRESULT CreateModelNode (const IFXString &rName, const IFXString &rResourceName, IFXModel **ppModel, U32 *pModelNodeId=NULL)
IFXRESULT CreateModelResource (const IFXString &rName, IFXREFCID ComponentId, U32 uPrimitivePriority, IFXGenerator **ppPrimitive)
IFXRESULT CreateMotionResource (const IFXString &rMotionName, const U32 motionQuality, const U32 motionPriority, U32 *motionID, IFXMotionResource **pMotionResource)
IFXRESULT CreateNode (const IFXString &rNodeName, const IFXCID &rComponentId, IFXNode **ppNode, U32 *pNodeId=NULL)
IFXRESULT CreateNodePlaceholder (const IFXString &rNodeName, U32 *pNodeId=NULL)
IFXRESULT CreatePointSetResource (const IFXString &rName, IFXAuthorPointSet *pLineSet, U32 modelPriority, IFXAuthorPointSetResource **ppModel)
IFXRESULT CreateResourcePlaceholder (const IFXString &rName, IFXSceneGraph::EIFXPalette palette, U32 *pId=NULL)
IFXRESULT CreateShader (const IFXString &rShaderName, const IFXString &rMaterialName, IFXShaderLitTexture **ppShader)
IFXRESULT CreateTexture (const IFXString &rName, const U32 priority, IFXTextureObject **ppTextureObject)
IFXRESULT CreateViewNode (const IFXString &rNodeName, const IFXString &rResourceName, IFXView **ppView)
IFXRESULT CreateViewResource (const IFXString &rName, IFXViewResource **ppViewResource)
IFXRESULT FindMaterial (const IFXString &rName, IFXMaterialResource **ppResource, U32 *pMaterialId)
IFXRESULT FindModel (const IFXString &rModelName, IFXModel **ppModel)
IFXRESULT FindModelResource (const IFXString &rResourceName, IFXGenerator **ppModelResource, U32 *pModelResourceId=NULL)
IFXRESULT FindMotionResource (const IFXString &rName, IFXMotionResource **ppResource)
IFXRESULT FindNode (const IFXString &rName, IFXNode **ppNode, U32 *pNodeId=NULL)
IFXRESULT FindPaletteEntry (const IFXString &rName, IFXSceneGraph::EIFXPalette palette, IFXUnknown **ppResource, U32 *pPaletteId)
IFXRESULT FindResourceByModelName (const IFXString &rModelName, IFXAuthorCLODResource **ppAuthorCLODResource)
IFXRESULT FindShader (const IFXString &rName, IFXShaderLitTexture **ppResource, U32 *pShaderId)
IFXRESULT FindTexture (const IFXString &rName, IFXTextureObject **ppResource, U32 *pTextureId)
IFXRESULT GetMaterialFromShader (IFXShaderLitTexture *pShaderLitTexture, IFXMaterialResource **ppMaterial)
IFXRESULT GetSceneMetaData (IFXMetaDataX **ppMetaData)
 Returns file meta data interface.
IFXRESULT GetTextureFromShader (IFXShaderLitTexture *pShaderLitTexture, IFXTextureObject **ppTexture, U32 layer)
IFXRESULT GetWorldTransform (IFXNode *pNode, IFXMatrix4x4 *pWorldTransform)
IFXRESULT InitializeScene (IFXCoreServices *pCoreServicesMain)
IFXRESULT LoadU3DFile (const IFXCHAR *pFileName)
IFXRESULT ResetPalettes (BOOL bRebuildDefaultEntries)
IFXRESULT SetRenderWire (const IFXString &rShaderName, BOOL onOff)
IFXRESULT TestModifierNodeChain (IFXNode *pNode, IFXREFIID ModifierID, U32 *pFound)
IFXRESULT TestModifierResourceChain (IFXAuthorCLODResource *pCLODResource, IFXREFIID ModifierID, U32 *pFound)
IFXRESULT WriteDebugInfo (const char *pFile)
IFXRESULT WriteSceneToFile (const IFXCHAR *pFileName, IFXExportOptions ExportOptions)


Detailed Description

This is the implementation of a class that is used to create U3D scene objects.

Member Function Documentation

IFXRESULT U3D_IDTF::SceneUtilities::AssignAnimationToModifier ( IFXAnimationModifier *  pAnimationModifer,
const IFXString &  rMotionName,
F32  rTimeOffset = 0.0,
F32  rTimeScale = 1.0,
BOOL  loop = TRUE,
BOOL  sync = FALSE 
)

Queues up a named motion into an animation modifier.

Parameters:
IFXAnimationModifier* pAnimationModifier The modifier to assign the named motion.
const IFXString& rMotionName The name of the motion to assign to the modifier.
F32 rTimeOffset
F32 rTimeScale
BOOL loop
BOOL sync
Returns:
IFXRESULT Return status of this method.


The documentation for this class was generated from the following file: