API:FMX.DAE.Importer.TDAEModelImporter.LoadFromFile

From RAD Studio API Documentation
Jump to: navigation, search

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

AFile

The file from which the model is imported.

AMesh

The resulting mesh collection that composes the model.

AOwner

The owner component.

See Also