Warning: Undefined array key "translationlc" in /usr/www/users/fabook/_diggets/doc/v2/lib/plugins/translation/action.php on line 237
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/fabook/_diggets/doc/v2/lib/plugins/translation/action.php:237) in /usr/www/users/fabook/_diggets/doc/v2/inc/parser/code.php on line 33
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/fabook/_diggets/doc/v2/lib/plugins/translation/action.php:237) in /usr/www/users/fabook/_diggets/doc/v2/inc/parser/code.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/fabook/_diggets/doc/v2/lib/plugins/translation/action.php:237) in /usr/www/users/fabook/_diggets/doc/v2/inc/parser/code.php on line 35
uses
Gorilla.DefTypes,
Gorilla.G3D.Loader,
Gorilla.DAE.Loader,
Gorilla.OBJ.Loader,
Gorilla.STL.Loader,
Gorilla.FBX.Loader,
Gorilla.GLTF.Loader,
Gorilla.Babylon.Loader,
Gorilla.PLY.Loader,
Gorilla.SKP.Loader,
Gorilla.AssetsManager,
Gorilla.Model;
[...]
var FModel : TGorillaModel;
// in our form (TForm1) we added a field named "FModel"
procedure TForm1.FormCreate(Sender: TObject);
begin
// prepare the model for loading from package
FModel := TGorillaModel.Create(GorillaViewport1);
FModel.Parent := GorillaViewport1;
FModel.Source := 'c:\Temp\myfile.dae';
end;