Class TDebugBox

Unit

Declaration

type TDebugBox = class(TComponent)

Description

3D box, as an X3D node, to easily visualize debug things. This is a ready construction using X3D TBoxNode, TShapeNode, TTransformNode to give you a comfortable box visualization.

This is useful in connection with your custom TDebugTransform descendants, to show an axis to visualize something.

Create it and add the Root to your X3D scene graph within some TCastleSceneCore.RootNode. You can change properties like Box at any time (before and after adding the TCastleSceneCore.RootNode to some graph).

Hierarchy

  • TObject
  • TPersistent
  • TComponent
  • TDebugBox

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public constructor Create(const AOwner: TComponent; const AColor: TCastleColorRGB); reintroduce; deprecated 'use Create(AOwner) and adjust Color property';

Properties

Public property Root: TTransformNode read FTransform;
Public property Box: TBox3D write SetBox;
Public property Color: TCastleColor read FColor write SetColor;

Description

Methods

Public constructor Create(AOwner: TComponent); override;
 
Public constructor Create(const AOwner: TComponent; const AColor: TCastleColorRGB); reintroduce; deprecated 'use Create(AOwner) and adjust Color property';

Warning: this symbol is deprecated: use Create(AOwner) and adjust Color property

 

Properties

Public property Root: TTransformNode read FTransform;
 
Public property Box: TBox3D write SetBox;
 
Public property Color: TCastleColor read FColor write SetColor;
 

Generated by PasDoc 0.15.0.