Class TCastleRootTransform
Unit
Declaration
type TCastleRootTransform = class(TCastleAbstractRootTransform)
Description
Root of transformations and scenes (tree of TCastleTransform and TCastleScene).
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TCastleTransform
- TCastleAbstractRootTransform
- TCastleRootTransform
Overview
Methods
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
function PropertySection(const PropertyName: String): TPropertySection; override; |
Properties
![]() |
property HeadlightNode: TAbstractLightNode
read GetHeadlightNode write SetHeadlightNode; |
![]() |
property MainScene: TCastleScene read FMainScene write SetMainScene; |
![]() |
property UseHeadlight: TUseHeadlight
read FUseHeadlight write FUseHeadlight default hlMainScene; |
Description
Methods
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
function PropertySection(const PropertyName: String): TPropertySection; override; |
Properties
![]() |
property HeadlightNode: TAbstractLightNode
read GetHeadlightNode write SetHeadlightNode; |
|
Determines the headlight look, if we use a headlight (which is determined by the algorithm described at UseHeadlight and TUseHeadlight). By default it's a simplest directional headlight, but you can customize it, and thus you can use a point light or a spot light for a headlight. Just like https://castle-engine.io/x3d_implementation_navigation_extensions.php#section_ext_headlight . This is never | |
![]() |
property MainScene: TCastleScene read FMainScene write SetMainScene; |
|
The main scene of the world. It's not necessary to set this. It adds some optional features that require a notion of the "main" scene to make sense. The scene you set here must also be added to our Items. The
Freeing | |
![]() |
property UseHeadlight: TUseHeadlight
read FUseHeadlight write FUseHeadlight default hlMainScene; |
|
Whether the headlight is shown, see TUseHeadlight for possible values. | |
Generated by PasDoc 0.16.0.

