Class TX3DUnknownNode

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TX3DUnknownNode = class(TX3DNode)

Description

Not recognized VRML/X3D node type. Used for nodes found when parsing VRML/X3D file that are not implemented.

TX3DUnknownNode is parsed (in classic VRML encoding) in a special way, to be able to omit it gracefully. While such "unknown" node doesn't really do match in our graph, it works correctly with VRML/X3D DEF/USE mechanism.

Never instantiate this class by a standard constructor. Always use CreateUnknown constructor, this way we can safely assume that NodeTypeName is always correctly set.

Hierarchy

Overview

Methods

Public function NodeTypeName: string; override;
Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames); override;
Public constructor Create(const ANodeName: string; const ABaseUrl: string); override;
Public constructor CreateUnknown(const ANodeName, ABaseUrl: string; const ANodeTypeName :string);

Description

Methods

Public function NodeTypeName: string; override;
 
Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames); override;
 
Public constructor Create(const ANodeName: string; const ABaseUrl: string); override;

base Create will throw exception. Always use CreateUnknown*

Public constructor CreateUnknown(const ANodeName, ABaseUrl: string; const ANodeTypeName :string);
 

Generated by PasDoc 0.12.1 on 2013-02-04 20:26:57