Class TFloatRectanglePersistent
Unit
Declaration
type TFloatRectanglePersistent = class(TCastleComponent)
Description
This item has no description. Showing description inherited from TCastleComponent.
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
- TFloatRectanglePersistent
Overview
Fields
InternalGetValue: TGetFloatRectangleEvent; |
|
InternalSetValue: TSetFloatRectangleEvent; |
|
InternalDefaultValue: TFloatRectangle; |
Methods
procedure Loaded; override; |
|
function ValueIsStreamed: Boolean; override; |
|
function PropertySections(const PropertyName: String): TPropertySections; override; |
|
function ToString: String; override; |
Properties
property Value: TFloatRectangle read GetValue write SetValue; |
|
property Left: Single read GetLeft write SetLeft stored LeftIsStored nodefault; |
|
property Bottom: Single read GetBottom write SetBottom stored BottomIsStored nodefault; |
|
property Width: Single read GetWidth write SetWidth stored WidthIsStored nodefault; |
|
property Height: Single read GetHeight write SetHeight stored HeightIsStored nodefault; |
Description
Fields
InternalGetValue: TGetFloatRectangleEvent; |
|
This item has no description. |
InternalSetValue: TSetFloatRectangleEvent; |
|
This item has no description. |
InternalDefaultValue: TFloatRectangle; |
|
This item has no description. |
Methods
procedure Loaded; override; |
|
This item has no description. |
function ValueIsStreamed: Boolean; override; |
|
This item has no description. Showing description inherited from TCastleComponent.ValueIsStreamed.
Whether the current value of this object should be written to the stream. This should be This is used by CastleComponentSerialize, which is used in Castle Game Engine for all serialization. In simple cases, this just says whether the current value of this object equals to some default value. The default implementation of this class returns Descendants that override this to sometimes return The name of this method is consistent with TPropertyEditor.ValueIsStreamed in LCL. |
function PropertySections(const PropertyName: String): TPropertySections; override; |
|
This item has no description. Showing description inherited from TCastleComponent.PropertySections. Section where to show property in the editor. |
function ToString: String; override; |
|
This item has no description. |
Properties
property Value: TFloatRectangle read GetValue write SetValue; |
|
This item has no description. |
property Left: Single read GetLeft write SetLeft stored LeftIsStored nodefault; |
|
This item has no description. |
property Bottom: Single read GetBottom write SetBottom stored BottomIsStored nodefault; |
|
This item has no description. |
property Width: Single read GetWidth write SetWidth stored WidthIsStored nodefault; |
|
This item has no description. |
property Height: Single read GetHeight write SetHeight stored HeightIsStored nodefault; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.