Character Factory interface.
Public Member Functions | |
| virtual iGraphics * | GetGraphics () const =0 |
| Return the iGraphics interface used to create it. {Property}. More... | |
| virtual tBool | IsCharacter (iFile *pFile)=0 |
| Check if the given file is character file. More... | |
| virtual Ptr< iCharacter > | LoadCharacterFromFile (iFile *pFile)=0 |
| Load a character from the given file. More... | |
| virtual Ptr< iCharacter > | LoadCharacterFromScene (const iScene *apScene)=0 |
| Load a character from the given scene. More... | |
| virtual Ptr< iCharacter > | LoadCharacterFromSceneNode (const iScene *apScene, const iSceneNode *apNode)=0 |
| Load a character from the given scene node. More... | |
| virtual Ptr< iCharacter > | LoadCharacterInstance (iHString *ahspPath, tCharacterInstanceFlags aInstanceFlags)=0 |
| Load a regular character from the given resource. More... | |
| virtual Ptr< iAnimation > | LoadAnimationsFromFile (iFile *pFile)=0 |
| Load only the main animation from the given file. More... | |
| virtual Ptr< iAnimation > | LoadAnimationsFromScene (const iScene *apScene)=0 |
| Load only the main animation from the given scene. More... | |
| virtual Ptr< iAnimation > | LoadAnimationInstance (iHString *ahspPath)=0 |
| Load a the main animation from the given resource. More... | |
| virtual iCharacter * | CreateEmptyCharacter ()=0 |
| Create an empty character. More... | |
| virtual tBool | WriteCharacter (iFile *apFile, iCharacter *apChar, tCharacterWriteFlags aFlags)=0 |
| Write a character to the specified file. More... | |
| virtual tBool | WriteCharacter2 (iFile *apFile, iCharacter *apChar, tCharacterWriteFlags aFlags, const sVec3f &avPrec, tMaterialSerializeFlags aMaterialLibraryFlags)=0 |
| Write a character to the specified file. More... | |
| virtual iParticleSystem * | CreateParticleSystem (eParticleRendering aRendering)=0 |
| Create a new particle system. More... | |
Public Member Functions inherited from iSceneFactory | |
| virtual iScene * | CreateScene ()=0 |
| Create a new scene instance. More... | |
| virtual iAnimationTime * | CreateAnimationTime ()=0 |
| Create a new animation time instance. More... | |
| virtual iAnimation * | CreateAnimation ()=0 |
| Create a new animation instance. More... | |
| virtual iAnimationKeysSet * | CreateAnimationKeysSet (eAnimationKeysType type)=0 |
| Create a new animation keys set. More... | |
| virtual iAnimationMixer * | CreateAnimationMixer ()=0 |
| Create a new animation mixer instance. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Return the iGraphics interface used to create it. {Property}.
|
pure virtual |
Load a character from the given file.
| pFile | file to load the character from. |
|
pure virtual |
Load a character from the given scene.
|
pure virtual |
Load a character from the given scene node.
|
pure virtual |
Load a regular character from the given resource.
|
pure virtual |
Load only the main animation from the given file.
|
pure virtual |
Load only the main animation from the given scene.
|
pure virtual |
Load a the main animation from the given resource.
|
pure virtual |
Create an empty character.
|
pure virtual |
Write a character to the specified file.
|
pure virtual |
Write a character to the specified file.
| apFile | is the file where to write the file. |
| apChar | is the character to write. |
| aFlags | the character write flags. |
| avPrec | delta compression precision, set to zero to have no quality loss. Vec3(Position,Normal/TexCoo3,TexCoo1/2/4). |
| aMaterialLibraryFlags | material library's serialization flags. This can be used to specify the maximum texture resolution and texture compression ratio. |
|
pure virtual |
Create a new particle system.
1.8.7