API:FMX.DAE.Importer.TDAEModelImporter.LoadFromFile
Delphi
function LoadFromFile(const AFileName: string; out AMesh: TMeshDynArray; const AOwner: TComponent): boolean; override;
C++
virtual bool __fastcall LoadFromFile(const System::UnicodeString AFileName, /* out */ Fmx::Objects3d::TMeshDynArray &AMesh, System::Classes::TComponent* const AOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.DAE.Importer.pas FMX.DAE.Importer.hpp |
FMX.DAE.Importer | TDAEModelImporter |
Description
Loads a 3D model from the specified file.
FMX.DAE.Importer.TDAEModelImporter.LoadFromFile inherits from FMX.Import.TModelImporter.LoadFromFile. All content below this line refers to FMX.Import.TModelImporter.LoadFromFile.
Loads a 3D model from the specified file.
Parameter | Meaning |
---|---|
|
The file from which the model is imported. |
|
The resulting mesh collection that composes the model. |
|
The owner component. |