Class TX3DExport

Unit

Declaration

type TX3DExport = class(TX3DFileItem)

Description

This item has no description. Showing description inherited from TX3DFileItem.

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.

Source: scene/x3d/x3dnodes_importexport.inc (line 33).

Hierarchy

Overview

Fields

Public ExportedAlias: String;

Methods

Public destructor Destroy; override;
Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames);
Public procedure ParseXML(Element: TDOMElement; Reader: TX3DReaderNames);
Public procedure SaveToStream(Writer: TX3DWriter); override;
Public function DeepCopy(const CopyState: TX3DNodeDeepCopyState): TX3DExport;

Properties

Public property ExportedNode: TX3DNode read FExportedNode write SetExportedNode;

Description

Fields

Public ExportedAlias: String;

Name under which the EXPORTed node is available in outer files, i.e. IMPORT statements should refer to this alias. If empty, just use ExportedNode.X3DName.

Source: scene/x3d/x3dnodes_importexport.inc (line 42).

Methods

Public destructor Destroy; override;

This item has no description.

Source: scene/x3d/x3dnodes_importexport.inc (line 44).

Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames);

This item has no description.

Source: scene/x3d/x3dnodes_importexport.inc (line 52).

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

Parse the EXPORT declaration (XML encoding). Given Element here must have TagName = 'EXPORT'.

Source: scene/x3d/x3dnodes_importexport.inc (line 56).

Public procedure SaveToStream(Writer: TX3DWriter); override;

This item has no description. Showing description inherited from TX3DFileItem.SaveToStream.

Save to stream.

Source: scene/x3d/x3dnodes_importexport.inc (line 58).

Public function DeepCopy(const CopyState: TX3DNodeDeepCopyState): TX3DExport;

This item has no description.

Source: scene/x3d/x3dnodes_importexport.inc (line 59).

Properties

Public property ExportedNode: TX3DNode read FExportedNode write SetExportedNode;

Exported node. Note that we store node reference, not just ExportedNodeName, this way renaming the ExportedNode (e.g. by RenameUniquely during saving) is properly reflected in the saved EXPORT statement.

Source: scene/x3d/x3dnodes_importexport.inc (line 50).


Generated by PasDoc 0.17.0.snapshot.