Class TDebugTransform

Unit

Declaration

type TDebugTransform = class(TComponent)

Description

Visualization of a bounding volume (and maybe other properties) of a TCastleTransform instance. After constructing this, call Attach to attach this to some TCastleTransform instance.

Then set Exists 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

  • TComponent
  • TDebugTransform

Overview

Methods

Public procedure Attach(const AParent: TCastleTransform);
Public procedure ChangedScene;

Properties

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

Description

Methods

Public procedure Attach(const AParent: TCastleTransform);
 
Public procedure ChangedScene;
 

Properties

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

Is the debug visualization visible.

Public property WorldSpace: TAbstractX3DGroupingNode read FWorldSpace;

Add additional things that are expressed in world-space under this transform. Be sure to call ChangedScene afterwards.


Generated by PasDoc 0.15.0.