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

This item has no description.

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

This item has no description.

Properties

Public property Root: TTransformNode read FTransform;

This item has no description.

Public property Box: TBox3D write SetBox;

This item has no description.

Public property Color: TCastleColor read FColor write SetColor;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.