Class TCastleComponentFactoryHelper
Unit
Declaration
type TCastleComponentFactoryHelper = class helper(TObject) for TCastleComponentFactory
Description
Helper methods extending TCastleComponentFactory.
Implementation note: Ideally these should be split in CastleUIControls and CastleTransform units. But we cannot, as these units should not depend on each other, and only last defined helper works.
TODO: FPC trunk has a solution to this ($modeswitch multiscopehelpers) https://wiki.lazarus.freepascal.org/Helper_types . Since we require FPC >= 3.2.0, maybe we can us it? If FPC >= 3.2.0 and our supported Delphi versions support this?
Hierarchy
- TObject
- TCastleComponentFactoryHelper
Overview
Methods
function UserInterfaceLoad(const Owner: TComponent): TCastleUserInterface; |
|
function TransformLoad(const Owner: TComponent): TCastleTransform; |
Description
Methods
function UserInterfaceLoad(const Owner: TComponent): TCastleUserInterface; |
|
Instantiate component. Using this is equivalent to using global CastleUIControls.UserInterfaceLoad, but this is much faster if you want to instantiate the same file many times. |
function TransformLoad(const Owner: TComponent): TCastleTransform; |
|
Instantiate component. Using this is equivalent to using global CastleTransform.TransformLoad, but this is much faster if you want to instantiate the same file many times. |
Generated by PasDoc 0.16.0-snapshot.