Class TX3DPrototype

Unit

Declaration

type TX3DPrototype = class(TX3DPrototypeBase)

Description

No description available, ancestor TX3DPrototypeBase description follows
No description available, ancestor TX3DFileItem description follows

Base class for any item within VRML/X3D file: a node, a field, a route, a prototype etc. We need a common base class for all such things to store PositionInParent.

About ancestry: TX3DFieldOrEvent make use of Assign mechanism and so need to descend from TPersistent. TX3DNode make use of interfaces and so must descend from something like TNonRefCountedInterfacedXxx. These are the only reasons, for now, why this descends from TNonRefCountedInterfacedPersistent.

Hierarchy

Overview

Methods

Public destructor Destroy; override;
Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames); override;
Public procedure ParseXML(Element: TDOMElement; Reader: TX3DReaderNames); override;
Public procedure SaveToStream(Writer: TX3DWriter); override;

Properties

Public property Node: TX3DRootNode read FNode;

Description

Methods

Public destructor Destroy; override;
 
Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames); override;
 
Public procedure ParseXML(Element: TDOMElement; Reader: TX3DReaderNames); override;
 
Public procedure SaveToStream(Writer: TX3DWriter); override;
 

Properties

Public property Node: TX3DRootNode read FNode;

Prototype contents: all nodes, prototypes, routes defined inside.


Generated by PasDoc 0.16.0.