Class TCastleSimpleBackground
Unit
CastleControls
Declaration
type TCastleSimpleBackground = class(TUIControl)
Description
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.
Note that TCastleSceneManager clears the background under itself by default. See TCastleSceneManager.Transparent, TCastleSceneManager.BackgroundColor . So if you use TCastleSceneManager that fills the whole screen, then there's no need to use this control.
Hierarchy
Overview
Methods
 |
constructor Create(AOwner: TComponent); override; |
 |
procedure Render; override; |
Properties
Description
Methods
 |
constructor Create(AOwner: TComponent); override; |
|
 |
procedure Render; override; |
|
Properties
 |
property Color: TCastleColor read FColor write SetColor; |
Background color. By default, this is black color with opaque alpha.
|
Generated by PasDoc 0.15.0.
|