Class TDebugTransformBox
Unit
CastleDebugTransform
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
Properties
Description
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'; |
|
Warning: this symbol is deprecated: set Parent instead |
 |
procedure ChangedScene; |
|
|
Properties
 |
property Parent: TCastleTransform read FParent write SetParent; |
|
Determines what is visualizated by this component. May be Nil, which means that nothing is visualized.
|
 |
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; |
|
|
Generated by PasDoc 0.16.0.