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; const OverTriangulate: boolean): TAbstractGeometryNode; override;
Public function ProxyUsesOverTriangulate: boolean; 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 CreateNode; override;
Public class function ClassX3DType: string; override;
Public procedure SetLength(const Value: array of Single);
Public procedure SetLength(const Value: TSingleList);
Public procedure SetString(const Value: array of string);
Public procedure SetString(const Value: TCastleStringList);

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; const OverTriangulate: boolean): TAbstractGeometryNode; override;
 
Public function ProxyUsesOverTriangulate: boolean; 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 CreateNode; override;
 
Public class function ClassX3DType: string; override;
 
Public procedure SetLength(const Value: array of Single);
 
Public procedure SetLength(const Value: TSingleList);
 
Public procedure SetString(const Value: array of string);
 
Public procedure SetString(const Value: TCastleStringList);
 

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;
 

Generated by PasDoc 0.16.0.