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

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.

Public constructor Create(AOwner: TComponent); override;

This item has no description.

Public destructor Destroy; override;

This item has no description.

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

Warning: this symbol is deprecated: set Parent instead

This item has no description.

Public procedure ChangedScene;

This item has no description.

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.

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

Is the debug visualization visible.

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

Public property BoxColor: TCastleColor read FBoxColor write SetBoxColor;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.