CAST II Game Engine

   MAIN       FEATURES       SCREENSHOTS       FORUMS       MANUAL       DOWNLOADS       CONTACTS   
Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Enumerations
Variables
Constants
Functions and Procedures
Identifiers

Class TSampledGradient

Unit

basecont

Declaration

type TSampledGradient = class(TSampledData)

Description

Color gradient represented with color samples and interpolation between the samples

Hierarchy

TSampledData

Methods

Overview

Publicconstructor Create; override;
Protectedprocedure DataExport(Dest: Pointer); override;
Protectedprocedure DataImport(Src: Pointer); override;
Protectedfunction GetDataSize: Integer; override;
Publicprocedure Insert(AX: Single; AColor: TColor);
Protectedprocedure MoveSample(SrcIndex, DestIndex: Integer); override;
Publicprocedure Reset; override;

Description

Publicconstructor Create; override;

 

Protectedprocedure DataExport(Dest: Pointer); override;

 

Protectedprocedure DataImport(Src: Pointer); override;

 

Protectedfunction GetDataSize: Integer; override;

 

Publicprocedure Insert(AX: Single; AColor: TColor);

 

Protectedprocedure MoveSample(SrcIndex, DestIndex: Integer); override;

 

Publicprocedure Reset; override;

 

Properties

Overview

Publicproperty SampleValue[Index: Integer]: TColor;
Publicproperty Value[X: Single]: TColor;

Description

Publicproperty SampleValue[Index: Integer]: TColor;

 

Publicproperty Value[X: Single]: TColor;

 

Last modified: Jan 6, 2010
Copyright (C) 2006-2010, casteng.com