Class TCastleSimpleBackground

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCastleSimpleBackground = class(TUIControl)

Description

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.

Hierarchy

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public procedure Render; override;

Properties

Public property RenderStyle default rs3D;
Public property Color: TCastleColor read FColor write FColor;

Description

Methods

Public constructor Create(AOwner: TComponent); override;
 
Public procedure Render; override;
 

Properties

Public property RenderStyle default rs3D;
 
Public property Color: TCastleColor read FColor write FColor;

Background color. By default, this is black color with opaque alpha.