Class TTextNode

Unit

Declaration

type TTextNode = class(TAbstractGeometryNode)

Description

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

Hierarchy

Overview

Methods

Public procedure CreateNode; override;
Public destructor Destroy; override;
Public class function ClassX3DType: string; override;
Public class function URNMatching(const URN: string): boolean; 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 SolidField: TSFBool; override;
Public function FontTextureNode: TAbstractTexture2DNode; override;
Public procedure FontChanged;
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 FdLength: TMFFloat read FFdLength;
Public property FdMaxExtent: TSFFloat read FFdMaxExtent;
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;
Public property FontStyle: TFontStyleNode read GetFontStyle write SetFontStyle;
Public property MaxExtent: Single read GetMaxExtent write SetMaxExtent;

Description

Methods

Public procedure CreateNode; override;
 
Public destructor Destroy; override;
 
Public class function ClassX3DType: string; override;
 
Public class function URNMatching(const URN: string): boolean; 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 SolidField: TSFBool; 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 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 FdLength: TMFFloat read FFdLength;
 
Public property FdMaxExtent: TSFFloat read FFdMaxExtent;
 
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;
 
Public property FontStyle: TFontStyleNode read GetFontStyle write SetFontStyle;

The font rendering style. Returns Nil if not assigned, or if the underlying X3D field has invalid node type assigned.

Public property MaxExtent: Single read GetMaxExtent write SetMaxExtent;
 

Generated by PasDoc 0.15.0.