Class TCastleOpen3DDialog

Unit

Declaration

type TCastleOpen3DDialog = class(TOpenDialog)

Description

Dialog to open scene (select a file that can be loaded using TCastleScene.Load). It uses an URL, and additionally initializes the filters to include all the scene types we can load (through LoadNode, TCastleScene.Load, TCastleScene.URL and so on).

Hierarchy

Overview

Methods

Protected function DoExecute: boolean; override;
Public constructor Create(AOwner: TComponent); override;

Properties

Published property URL: string read GetURL write SetURL stored false;
Published property AdviceDataDirectory: Boolean read FAdviceDataDirectory write FAdviceDataDirectory default false;
Published property UseCastleDataProtocol: Boolean read FUseCastleDataProtocol write FUseCastleDataProtocol default true;
Published property Filter stored StoreFilterAndFilterIndex;
Published property FilterIndex stored StoreFilterAndFilterIndex;

Description

Methods

Protected function DoExecute: boolean; override;
 
Public constructor Create(AOwner: TComponent); override;
 

Properties

Published property URL: string read GetURL write SetURL stored false;
 
Published property AdviceDataDirectory: Boolean read FAdviceDataDirectory write FAdviceDataDirectory default false;

Warn (but still allow) if user selects URL outside of data directory.

Published property UseCastleDataProtocol: Boolean read FUseCastleDataProtocol write FUseCastleDataProtocol default true;

If the URL is detected inside data directory ( https://castle-engine.io/manual_data_directory.php ), make sure it starts with protocol castle-data:/ .

Published property Filter stored StoreFilterAndFilterIndex;
 
Published property FilterIndex stored StoreFilterAndFilterIndex;
 

Generated by PasDoc 0.16.0.