Class TSFEnum
Unit
X3DFields
Declaration
type TSFEnum = class(TX3DSingleField)
Description
Warning: this symbol is deprecated.
VRML 1.0 (deprecated) field representing an enumerated value, which means that you choose one (named) value from a set of possible values. This is deprecated, as VRML 1.0 is an ancient format now.
Hierarchy
Overview
Fields
Methods
Properties
 |
property EnumNames[i:integer]: string read GetEnumNames; |
Description
Fields
 |
Value: integer; |
Value between 0 .. EnumCount - 1. By default 0.
|
 |
DefaultValue: integer; |
|
 |
DefaultValueExists: boolean; |
|
Methods
 |
constructor Create(const AParentNode: TX3DFileItem; const AExposed: boolean; const AName: string; const AEnumNames: array of string; const AValue: integer); |
|
 |
destructor Destroy; override; |
|
 |
function EnumNamesCount: integer; |
|
 |
procedure ParseValue(Lexer: TX3DLexer; Reader: TX3DReader); override; |
|
 |
function EqualsDefaultValue: boolean; override; |
|
 |
function Equals(SecondValue: TX3DField): boolean; override; |
|
 |
procedure Assign(Source: TPersistent); override; |
|
 |
procedure AssignValue(Source: TX3DField); override; |
|
 |
procedure AssignDefaultValueFromValue; override; |
|
 |
class function X3DType: string; override; |
|
 |
procedure Send(const AValue: LongInt); overload; |
|
Properties
 |
property EnumNames[i:integer]: string read GetEnumNames; |
Names of the enumerated values. Note that this cannot be initialized by CreateUndefined, so you always must initialize this field using the Create overload that takes AEnumNames parameter.
|
Generated by PasDoc 0.15.0.
|