Class TCastleSimpleBackground
Unit
CastleControls
Declaration
type TCastleSimpleBackground = class(TCastleUserInterface)
Description
Warning: this symbol is deprecated: use TCastleRectangleControl with FullSize=true; note that by default it has White color, while TCastleSimpleBackground has by default Black color.
Fill the whole window with a simple color. This is very fast, but it unconditionally clears the whole window, and there is no blending (if your Color has some alpha, it is just copied to the color buffer).
To clear the rectangle with a color, with optional blending, use TCastleRectangleControl instead.
Hierarchy
Overview
Methods
|
constructor Create(AOwner: TComponent); override; |
|
procedure Render; override; |
Properties
Description
Methods
|
constructor Create(AOwner: TComponent); override; |
|
|
procedure Render; override; |
|
Properties
|
property Width default 0; |
|
|
property Height default 0; |
|
|
property Color: TCastleColor read FColor write SetColor; |
Background color. By default, this is black color with opaque alpha.
|
Generated by PasDoc 0.16.0.