Class TCastleColorPersistent
Unit
Declaration
type TCastleColorPersistent = class(TCastleComponent)
Description
TCastleColor record represented as a TPersistent descendant, to be able to visually edit it (in Lazarus and Delphi visual designer, and Castle Game Engine visual designer) and to serialize it.
Normal user code does not need to deal with this class or it's instances. Instead directly operate on TCastleColor values, which is faster and more natural. TCastleColor are simple records, so they are naturally copied on assignment, and various operators like additions work in a natural way too.
Source: base/castlecolors_persistent.inc (line 82).
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TCastleColorPersistent
Generated by PasDoc 0.17.0.snapshot.