Class TCastleLayerNames
Unit
Declaration
type TCastleLayerNames = class(TCastleComponent)
Description
Component with various CGE extensions: can be a parent of other non-visual components (to display them in CGE editor and serialize them to files), can be translated, can have custom logic when serializing/deserializing (CustomSerialization).
Note that everywhere in CGE (in particular in editor and when serializing) we handle a standard Pascal TComponent as well. So there's no need to derive all your components from TCastleComponent, so you derive from standard TComponent too. You can use TCastleComponent only if necessary, i.e. only if you need one of the extra features in this class.
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TCastleLayerNames
Overview
Methods
![]() |
procedure CustomSerialization(const SerializationProcess: TSerializationProcess); override; |
Properties
![]() |
property Names[constLayer:TPhysicsLayer]: String read GetLayerNames write SetLayerNames; |
![]() |
property Descriptions[constLayer:TPhysicsLayer]: String read GetLayerDescriptions write SetLayerDescriptions; |
Description
Methods
![]() |
procedure CustomSerialization(const SerializationProcess: TSerializationProcess); override; |
Properties
![]() |
property Names[constLayer:TPhysicsLayer]: String read GetLayerNames write SetLayerNames; |
|
Name of each layer. This information is just for developer convenience, to display layer | |
![]() |
property Descriptions[constLayer:TPhysicsLayer]: String read GetLayerDescriptions write SetLayerDescriptions; |
|
Longer (possibly multiline) description about each layer. This information is just for developer convenience, to document layer purpose in the editor. | |
Generated by PasDoc 0.16.0.
