Class TSFDouble

Unit

Declaration

type TSFDouble = class(TX3DSingleField)

Description

X3D field containing a floating-point value with Double precision.

Hierarchy

Overview

Fields

Public DefaultValue: Double;
Public DefaultValueExists: boolean;

Methods

Public constructor Create(const AParentNode: TX3DFileItem; const AExposed: boolean; const AName: string; const AValue: Double);
Public procedure ParseValue(Lexer: TX3DLexer; Reader: TX3DReader); override;
Public function EqualsDefaultValue: boolean; override;
Public function Equals(SecondValue: TX3DField): boolean; override;
Public function FastEqualsValue(SecondValue: TX3DField): boolean; override;
Public procedure AssignLerp(const A: Double; Value1, Value2: TX3DField); override;
Public function CanAssignLerp: boolean; override;
Public procedure Assign(Source: TPersistent); override;
Public procedure AssignValue(Source: TX3DField); override;
Public procedure AssignDefaultValueFromValue; override;
Public procedure UnassignDefaultValue; override;
Public class function X3DType: string; override;
Public class function CreateEvent(const AParentNode: TX3DFileItem; const AName: string; const AInEvent: boolean): TX3DEvent; override;
Public procedure Send(const AValue: Double); overload;

Properties

Public property Value: Double read FValue write SetValue;
Public property Angle: boolean read FAngle write FAngle default false;

Description

Fields

Public DefaultValue: Double;
 
Public DefaultValueExists: boolean;
 

Methods

Public constructor Create(const AParentNode: TX3DFileItem; const AExposed: boolean; const AName: string; const AValue: Double);
 
Public procedure ParseValue(Lexer: TX3DLexer; Reader: TX3DReader); override;
 
Public function EqualsDefaultValue: boolean; override;
 
Public function Equals(SecondValue: TX3DField): boolean; override;
 
Public function FastEqualsValue(SecondValue: TX3DField): boolean; override;
 
Public procedure AssignLerp(const A: Double; Value1, Value2: TX3DField); override;
 
Public function CanAssignLerp: boolean; override;
 
Public procedure Assign(Source: TPersistent); override;
 
Public procedure AssignValue(Source: TX3DField); override;
 
Public procedure AssignDefaultValueFromValue; override;
 
Public procedure UnassignDefaultValue; override;
 
Public class function X3DType: string; override;
 
Public class function CreateEvent(const AParentNode: TX3DFileItem; const AName: string; const AInEvent: boolean): TX3DEvent; override;
 
Public procedure Send(const AValue: Double); overload;
 

Properties

Public property Value: Double read FValue write SetValue;
 
Public property Angle: boolean read FAngle write FAngle default false;

Value represents an angle. When reading from X3D 3.3 file, we will make sure it's expressed in radians, honoring optional "UNIT angle ..." declaration in X3D file.


Generated by PasDoc 0.16.0.