Class TAsciiTextNode_1

Unit

Declaration

type TAsciiTextNode_1 = class(TAbstractGeometryNode_1)

Description

No description available, ancestor TAbstractGeometryNode_1 description follows

Geometry node allowed only in VRML <= 1.0.

In VRML 1.0 shape nodes are allowed pretty everywhere, while VRML 2.0 has different idea of how shapes are handled (they must be inside Shape node), so no shape node is suitable at the same time for VRML 1.0 and VRML 2.0.

Hierarchy

Overview

Methods

Public destructor Destroy; override;
Public function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override;
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
Public function FontTextureNode: TAbstractTexture2DNode; override;
Public procedure FontChanged;
Public function Justify: TX3DFontJustify;
Public procedure CreateNode; override;
Public class function ClassX3DType: string; override;
Public class function ForVRMLVersion(const Version: TX3DVersion): Boolean; override;
Public procedure SetText(const Value: array of string); overload;
Public procedure SetText(const Value: TCastleStringList); overload;
Public procedure SetWidth(const Value: array of Single); overload;
Public procedure SetWidth(const Value: TSingleList); overload;

Properties

Public property FdString: TMFString read FFdString;
Public property FdSpacing: TSFFloat read FFdSpacing;
Public property Spacing: Single read GetSpacing write SetSpacing;
Public property FdJustification: TSFEnum read FFdJustification;
Public property FdWidth: TMFFloat read FFdWidth;

Description

Methods

Public destructor Destroy; override;
 
Public function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override;
 
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
 
Public function FontTextureNode: TAbstractTexture2DNode; override;
 
Public procedure FontChanged;

Force recalculating the shape when font changed. For now, we don't detect font changes (when TFontStyleNode.OnFont returns something different) outselves.

Public function Justify: TX3DFontJustify;
 
Public procedure CreateNode; override;
 
Public class function ClassX3DType: string; override;
 
Public class function ForVRMLVersion(const Version: TX3DVersion): Boolean; override;
 
Public procedure SetText(const Value: array of string); overload;
 
Public procedure SetText(const Value: TCastleStringList); overload;
 
Public procedure SetWidth(const Value: array of Single); overload;
 
Public procedure SetWidth(const Value: TSingleList); overload;
 

Properties

Public property FdString: TMFString read FFdString;

Internal wrapper for property Text. This wrapper API may change, we advise to access simpler Text instead.

Public property FdSpacing: TSFFloat read FFdSpacing;

Internal wrapper for property Spacing. This wrapper API may change, we advise to access simpler Spacing instead.

Public property Spacing: Single read GetSpacing write SetSpacing;
 
Public property FdJustification: TSFEnum read FFdJustification;

Internal wrapper for property Justification. This wrapper API may change, we advise to access simpler Justification instead.

Public property FdWidth: TMFFloat read FFdWidth;

Internal wrapper for property Width. This wrapper API may change, we advise to access simpler Width instead.


Generated by PasDoc 0.16.0.