Anim 0.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
AnimationSystem::Mesh::AnimatedMeshFactory Class Reference

Factory for animated meshes, contains skinned meshes and animations to prevent unnecessary duplication. More...

#include <AnimatedMeshFactory.h>

Inheritance diagram for AnimationSystem::Mesh::AnimatedMeshFactory:
Collaboration diagram for AnimationSystem::Mesh::AnimatedMeshFactory:

Public Member Functions

ValueResult< std::weak_ptr< IAnimatedMesh > > CreateAnimatedMesh (string const &objectNameId, string const &filePath, gef::Platform &platform)
 Create a new animated mesh. More...
 
AnimationContainerGetAnimationContainer () const override
 
virtual AnimationContainerGetAnimationContainer () const =0
 

Detailed Description

Factory for animated meshes, contains skinned meshes and animations to prevent unnecessary duplication.

Member Function Documentation

◆ CreateAnimatedMesh()

ValueResult< std::weak_ptr< IAnimatedMesh > > AnimationSystem::Mesh::AnimatedMeshFactory::CreateAnimatedMesh ( string const &  objectNameId,
string const &  filePath,
gef::Platform &  platform 
)

Create a new animated mesh.

Parameters
objectNameIdthe name the mesh will have
filePaththe path to the mesh
platform(used to construct mesh)
Returns
The created animated mesh or any Errors discovered

◆ GetAnimationContainer()

AnimationContainer & AnimationSystem::Mesh::AnimatedMeshFactory::GetAnimationContainer ( ) const
inlineoverridevirtual

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