Gorilla.Model

Unit Gorilla.Model.pas

Classes

TGorillaModel

Default model control for managing multi mesh 3D-models. The Gorilla3D model component differs in a lot of functionality from the FMX equivalent.

Remarks

It allows to load different 3D file formats like: DAE, OBJ, FBX, STL, X3D and more. It supports vertex-, skeleton- and skinanimation. The model component holds an AnimationManager component for managing different animations for the same model. There are different ways to instanciate a model from file or stream, f.e.: Loading a new model instance directly from file:
       LMyModel := TGorillaModel.LoadNewModelFromFile(LViewport, LMyAssetPackage, 'c:\models\mymodel.dae', GORILLA_ANIMATION_CACHING_DEFAULT);
       LMyModel.Parent := LViewport;
       
Loading model information into an existing model instance from file:
       GorillaModel1.LoadFromFile(LMyAssetPackage, 'c:\models\mymodel.dae', GORILLA_ANIMATION_CACHING_DEFAULT);
       
Loading a further animation file into the model:
       GorillaModel1.AddAnimationFromFile('c:\models\mymodel-run.dae', GORILLA_ANIMATION_CACHING_DEFAULT);
       

Ancestors

Members

Fields

Methods

Properties