Class TX3DPrototypeBase

Unit

Declaration

type TX3DPrototypeBase = class(TX3DFileItem)

Description

No description available, ancestor TX3DFileItem description follows

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

Hierarchy

Overview

Methods

Public constructor Create;
Public destructor Destroy; override;
Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames); virtual; abstract;
Public procedure ParseXML(Element: TDOMElement; Reader: TX3DReaderNames); virtual; abstract;

Properties

Public property X3DName: string read FX3DName write FX3DName;
Public property Name: string read FX3DName write FX3DName; deprecated 'use X3DName';
Public property InterfaceDeclarations: TX3DInterfaceDeclarationList read FInterfaceDeclarations;
Public property BaseUrl: string read FBaseUrl write FBaseUrl;

Description

Methods

Public constructor Create;
 
Public destructor Destroy; override;
 
Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames); virtual; abstract;

Parse prototype, and add it to Names.Prototypes. Adds to Names by Names.Prototypes.Bind(Self).

Public procedure ParseXML(Element: TDOMElement; Reader: TX3DReaderNames); virtual; abstract;
 

Properties

Public property X3DName: string read FX3DName write FX3DName;
 
Public property Name: string read FX3DName write FX3DName; deprecated 'use X3DName';

Warning: this symbol is deprecated: use X3DName

 
Public property InterfaceDeclarations: TX3DInterfaceDeclarationList read FInterfaceDeclarations;
 
Public property BaseUrl: string read FBaseUrl write FBaseUrl;

The base URL path used to resolve urls inside. For now, used by EXTERNPROTO urls. See TX3DNode.BaseUrl for more comments.


Generated by PasDoc 0.16.0.