Class TDebugTransformBox
Unit
Declaration
type TDebugTransformBox = class(TComponent)
Description
Visualization of a bounding volume of a TCastleTransform instance. After constructing this, set Parent to attach this to some TCastleTransform instance.
Then set Exists (which is by default False) to control whether the debug visualization should actually be shown. We take care to only actually construct internal TCastleScene when the Exists becomes True, so you can construct TDebugTransform instance always, even in release mode – it does not take up resources if never visible.
Hierarchy
- TObject
- TPersistent
- TComponent
- TDebugTransformBox
Overview
Methods
![]() |
procedure Notification(AComponent: TComponent; Operation: TOperation); override; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure Attach(const AParent: TCastleTransform); deprecated 'set Parent instead'; |
![]() |
procedure ChangedScene; |
Properties
![]() |
property Parent: TCastleTransform read FParent write SetParent; |
![]() |
property Exists: boolean read FExists write SetExists default false; |
![]() |
property ParentSpace: TAbstractGroupingNode read FParentSpace; |
![]() |
property BoxColor: TCastleColor read FBoxColor write SetBoxColor; |
Description
Methods
![]() |
procedure Notification(AComponent: TComponent; Operation: TOperation); override; |
|
This item has no description. | |
![]() |
constructor Create(AOwner: TComponent); override; |
|
This item has no description. | |
![]() |
destructor Destroy; override; |
|
This item has no description. | |
![]() |
procedure Attach(const AParent: TCastleTransform); deprecated 'set Parent instead'; |
|
Warning: this symbol is deprecated: set Parent instead This item has no description. | |
![]() |
procedure ChangedScene; |
|
This item has no description. | |
Properties
![]() |
property Parent: TCastleTransform read FParent write SetParent; |
|
Determines what is visualizated by this component. May be | |
![]() |
property Exists: boolean read FExists write SetExists default false; |
|
Is the debug visualization visible. | |
![]() |
property ParentSpace: TAbstractGroupingNode read FParentSpace; |
|
Add to this additional things that are expressed in parent coordinate-space. Be sure to call ChangedScene afterwards, unless you do it in InitializeNodes (then ChangedScene is not necessary). | |
![]() |
property BoxColor: TCastleColor read FBoxColor write SetBoxColor; |
|
This item has no description. | |
Generated by PasDoc 0.16.0-snapshot.

