| Description | Hierarchy | Fields | Methods | Properties |
type TAdColorList = class(TAdList)
Contains a variable count of color values and returns an interpolated color between two of them. This class is used in the particle system.
![]() |
function GetColor(Max,Pos:double):TAndorraColor; |
![]() |
function Add(AColor:TAndorraColor): integer; |
![]() |
procedure Insert(AIndex: integer; AColor: TAndorraColor); |
![]() |
procedure SaveToStream(AStream:TStream); |
![]() |
procedure LoadFromStream(AStream:TStream); |
![]() |
property Items[AIndex:integer]: TAndorraColor read GetItem write SetItem; |
![]() |
function GetColor(Max,Pos:double):TAndorraColor; |
|
Returns a mixed color value. Max represents a maximum value, which pos is relative to. | |
![]() |
function Add(AColor:TAndorraColor): integer; |
|
Add a color to the lists | |
![]() |
procedure Insert(AIndex: integer; AColor: TAndorraColor); |
|
Inserts a color to the specified position | |
![]() |
procedure SaveToStream(AStream:TStream); |
|
Save the color list to the stream | |
![]() |
procedure LoadFromStream(AStream:TStream); |
|
Load the color list from a stream | |
![]() |
property Items[AIndex:integer]: TAndorraColor read GetItem write SetItem; |
|
The "items" property of a list | |