Description | Hierarchy | Fields | Methods | Properties |
type TMeshLoader = class(TReferenceCounted)
Class which is able to load an animated mesh from a file.
If you want Irrlicht be able to load meshes of currently unsupported file formats (e.g. .cob), then implement this and add your new Meshloader with TSceneManager.AddExternalMeshLoader() to the engine.
![]() |
function CreateMesh(RFile: TReadFile): TAnimatedMesh; inline; |
![]() |
function IsALoadableFileExtension(const FileName: StringType): Boolean; inline; |
![]() |
function CreateMesh(RFile: TReadFile): TAnimatedMesh; inline; |
Creates/loads an animated mesh from the file. Parameters
ReturnsThe created mesh. Returns nil if loading failed. If you no longer need the mesh, you should call TAnimatedMesh.Drop(). See TReferenceCounted.Drop() for more information. |
![]() |
function IsALoadableFileExtension(const FileName: StringType): Boolean; inline; |
Returns true if the file might be loaded by this class. Parameters
ReturnsTrue if the file might be loaded by this class. |