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

Overview

Methods

Public constructor Create(AOwner: TComponent); overload; override;
Public constructor Create(const AOwner: TComponent; const AColor: TCastleColorRGB); reintroduce; overload; 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); overload; override;
 
Public constructor Create(const AOwner: TComponent; const AColor: TCastleColorRGB); reintroduce; overload; 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.16.0.