Class TTextNode

Unit

Declaration

type TTextNode = class(TAbstractGeometryNode)

Description

Multiline text, visualized as a set of flat and textured polygons.

Hierarchy

Overview

Methods

Public destructor Destroy; override;
Public function TexCoordField: TSFNode; override;
Public function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override;
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
Public function BoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
Public function SolidField: TSFBool; override;
Public function FontTextureNode: TAbstractTexture2DNode; override;
Public procedure FontChanged;
Public procedure SetString(const Value: array of string); overload; deprecated 'use SetText';
Public procedure SetString(const Value: TCastleStringList); overload; deprecated 'use SetText';
Public procedure CreateNode; override;
Public class function ClassX3DType: string; override;
Public procedure SetLength(const Value: array of Single); overload;
Public procedure SetLength(const Value: TSingleList); overload;
Public procedure SetText(const Value: array of string); overload;
Public procedure SetText(const Value: TCastleStringList); overload;

Properties

Public property FdFontStyle: TSFNode read FFdFontStyle;
Public property FontStyle: TAbstractFontStyleNode read GetFontStyle write SetFontStyle;
Public property FdLength: TMFFloat read FFdLength;
Public property FdMaxExtent: TSFFloat read FFdMaxExtent;
Public property MaxExtent: Single read GetMaxExtent write SetMaxExtent;
Public property FdMaxDisplayChars: TSFInt32 read FFdMaxDisplayChars;
Public property MaxDisplayChars: Integer read GetMaxDisplayChars write SetMaxDisplayChars;
Public property FdString: TMFString read FFdString;
Public property EventLineBounds: TMFVec2fEvent read FEventLineBounds;
Public property EventOrigin: TSFVec3fEvent read FEventOrigin;
Public property EventTextBounds: TSFVec2fEvent read FEventTextBounds;
Public property FdSolid: TSFBool read FFdSolid;
Public property FdTexCoord: TSFNode read FFdTexCoord;

Description

Methods

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

Force recalculating the shape and font texture. Call this when TFontStyleNode.CustomFont, TFontStyleNode.OnFont returns something different.

Public procedure SetString(const Value: array of string); overload; deprecated 'use SetText';

Warning: this symbol is deprecated: use SetText

 
Public procedure SetString(const Value: TCastleStringList); overload; deprecated 'use SetText';

Warning: this symbol is deprecated: use SetText

 
Public procedure CreateNode; override;
 
Public class function ClassX3DType: string; override;
 
Public procedure SetLength(const Value: array of Single); overload;
 
Public procedure SetLength(const Value: TSingleList); overload;
 
Public procedure SetText(const Value: array of string); overload;
 
Public procedure SetText(const Value: TCastleStringList); overload;
 

Properties

Public property FdFontStyle: TSFNode read FFdFontStyle;

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

Public property FontStyle: TAbstractFontStyleNode read GetFontStyle write SetFontStyle;
 
Public property FdLength: TMFFloat read FFdLength;

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

Public property FdMaxExtent: TSFFloat read FFdMaxExtent;

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

Public property MaxExtent: Single read GetMaxExtent write SetMaxExtent;
 
Public property FdMaxDisplayChars: TSFInt32 read FFdMaxDisplayChars;

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

Public property MaxDisplayChars: Integer read GetMaxDisplayChars write SetMaxDisplayChars;
 
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 EventLineBounds: TMFVec2fEvent read FEventLineBounds;
 
Public property EventOrigin: TSFVec3fEvent read FEventOrigin;
 
Public property EventTextBounds: TSFVec2fEvent read FEventTextBounds;
 
Public property FdSolid: TSFBool read FFdSolid;

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

Public property FdTexCoord: TSFNode read FFdTexCoord;

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


Generated by PasDoc 0.16.0.