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.

Source: src/scene/castledebugtransform.pas (line 149).

Hierarchy

  • TObject
  • TPersistent
  • TComponent
  • TDebugTransformBox

Overview

Methods

Protected procedure Notification(AComponent: TComponent; Operation: TOperation); override;
Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure Attach(const AParent: TCastleTransform); deprecated 'set Parent instead';
Public procedure ChangedScene;

Properties

Public property Parent: TCastleTransform read FParent write SetParent;
Public property Exists: boolean read FExists write SetExists default false;
Public property ParentSpace: TAbstractGroupingNode read FParentSpace;
Public property BoxColor: TCastleColor read FBoxColor write SetBoxColor;

Description

Methods

Protected procedure Notification(AComponent: TComponent; Operation: TOperation); override;

This item has no description.

Source: src/scene/castledebugtransform.pas (line 180).

Public constructor Create(AOwner: TComponent); override;

This item has no description.

Source: src/scene/castledebugtransform.pas (line 182).

Public destructor Destroy; override;

This item has no description.

Source: src/scene/castledebugtransform.pas (line 183).

Public procedure Attach(const AParent: TCastleTransform); deprecated 'set Parent instead';

Warning: this symbol is deprecated: set Parent instead

This item has no description.

Source: src/scene/castledebugtransform.pas (line 184).

Public procedure ChangedScene;

This item has no description.

Source: src/scene/castledebugtransform.pas (line 195).

Properties

Public property Parent: TCastleTransform read FParent write SetParent;

Determines what is visualizated by this component. May be Nil, which means that nothing is visualized.

Source: src/scene/castledebugtransform.pas (line 187).

Public property Exists: boolean read FExists write SetExists default false;

Is the debug visualization visible.

Source: src/scene/castledebugtransform.pas (line 189).

Public 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).

Source: src/scene/castledebugtransform.pas (line 193).

Public property BoxColor: TCastleColor read FBoxColor write SetBoxColor;

This item has no description.

Source: src/scene/castledebugtransform.pas (line 194).


Generated by PasDoc 0.17.0.snapshot.