Introduction
Units
Class Hierarchy
Classes, Interfaces, Objects and Records
Types
Variables
Constants
Functions and Procedures
Identifiers
CastleControls
type TCastleSimpleBackground = class(TUIControl)
Simple background fill. Using OpenGL GLClear, so unconditionally clears things underneath. In simple cases, you don't want to use this: instead you usually have TCastleSceneManager that fills the whole screen, and it provides a background already.
constructor Create(AOwner: TComponent); override;
function RenderStyle: TRenderStyle; override;
procedure Render; override;
property Color: TCastleColor read FColor write FColor;
Background color. By default, this is black color with opaque alpha.