Class TX3DReader

Unit

Declaration

type TX3DReader = class(TObject)

Description

Reading of VRML/X3D from stream. Common knowledge for both classic and XML reader. X3DNodes unit extends this into TX3DReaderNames.

Hierarchy

  • TObject
  • TX3DReader

Overview

Fields

Public LengthConversionFactor: Float;

Methods

Public constructor Create(const ABaseUrl: string; const AVersion: TX3DVersion);
Public constructor CreateCopy(Source: TX3DReader);
Public procedure UnitConversion(const Category, Name: string; const ConversionFactor: Float);

Properties

Public property BaseUrl: string read FBaseUrl;
Public property Version: TX3DVersion read FVersion;

Description

Fields

Public LengthConversionFactor: Float;
 

Methods

Public constructor Create(const ABaseUrl: string; const AVersion: TX3DVersion);
 
Public constructor CreateCopy(Source: TX3DReader);
 
Public procedure UnitConversion(const Category, Name: string; const ConversionFactor: Float);

Apply unit conversion. If this is angle conversion factor, it is stored and used internally. If this is length conversion factor, we update our LengthConversionFactor property, but it's callers responsibility to make use of it. (You want to use here TX3DRootNode.Scale.)

Properties

Public property BaseUrl: string read FBaseUrl;

Base path for resolving URLs from nodes in this namespace. See TX3DNode.BaseUrl.

Public property Version: TX3DVersion read FVersion;

VRML/X3D version number. For resolving node class names and other stuff.


Generated by PasDoc 0.15.0.