Description | Hierarchy | Fields | Methods | Properties |
type TAdCanvasDisplayList = class(TAdList)
Contains multiple TAdCanvasObject objects. The objects can be drawn at once and transformed in 3D space using simple functions.
constructor Create(AAppl:TAd2dApplication); |
|
destructor Destroy; override; |
|
procedure ResetTransform; |
|
procedure Scale(AX, AY, AZ: single); |
|
procedure Translate(AX, AY, AZ: single); |
|
procedure RotateX(ARotation: single); |
|
procedure RotateY(ARotation: single); |
|
procedure RotateZ(ARotation: single); |
|
procedure MatrixTransform(AMatrix:TAdMatrix); |
|
procedure Draw; |
property Items[Index:integer]: TAdCanvasObject read GetItem write SetItem; |
constructor Create(AAppl:TAd2dApplication); |
|
Creates an instance of TAdCanvasDisplayList. |
destructor Destroy; override; |
|
Destroys the instance of TAdCanvasDisplayList. |
procedure ResetTransform; |
|
Resets the matrix used to transform the objects to an identity matrix. |
procedure Scale(AX, AY, AZ: single); |
|
Creates a scale matrix and multiplies it with the transformation matrix. |
procedure Translate(AX, AY, AZ: single); |
|
Creates a translation matrix and multiplies it with the transformation matrix. |
procedure RotateX(ARotation: single); |
|
Creates a rotate x matrix and multiplies it with the transformation matrix. |
procedure RotateY(ARotation: single); |
|
Creates a rotate y matrix and multiplies it with the transformation matrix. |
procedure RotateZ(ARotation: single); |
|
Creates a rotate z matrix and multiplies it with the transformation matrix. |
procedure MatrixTransform(AMatrix:TAdMatrix); |
|
Multiplies "AMatrix" with the transformation matrix. |
procedure Draw; |
|
Draws all objects in the list. |
property Items[Index:integer]: TAdCanvasObject read GetItem write SetItem; |
|
Property used to have acces on each object in the list. |