Class TDebugSphere

Unit

Declaration

type TDebugSphere = class(TComponent)

Description

3D sphere, as an X3D node, to easily visualize debug things. This is a ready construction using X3D TSphereNode, TShapeNode, TTransformNode to give you a comfortable sphere 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 Position at any time (before and after adding the TCastleSceneCore.RootNode to some graph).

Hierarchy

Overview

Methods

Public constructor Create(const AOwner: TComponent; const Color: TCastleColorRGB); reintroduce;

Properties

Public property Root: TTransformNode read FTransform;
Public property Render: boolean read GetRender write SetRender;
Public property Position: TVector3 write SetPosition;
Public property Radius: Single write SetRadius;

Description

Methods

Public constructor Create(const AOwner: TComponent; const Color: TCastleColorRGB); reintroduce;
 

Properties

Public property Root: TTransformNode read FTransform;
 
Public property Render: boolean read GetRender write SetRender;
 
Public property Position: TVector3 write SetPosition;
 
Public property Radius: Single write SetRadius;
 

Generated by PasDoc 0.16.0.