Castle Game Engine: X3DFields: Class TSFEnum

# Class TSFEnum
Description | Hierarchy | Fields | Methods | Properties
## Unit X3DFields ## Declaration `type TSFEnum = class(TX3DSingleField)` ## Description SFEnum VRML 1.0 field. `TSFEnum` is one of the exceptional field types that cannot be 100% correctly initialized by CreateUndefined, since EnumNames will be left undefined. ## Hierarchy TPersistent TNonRefCountedInterfacedPersistent TX3DFileItem TX3DFieldOrEvent TX3DField TX3DSingleField TSFEnum ## Overview ### Fields
| `Value: integer;`
| `DefaultValue: integer;`
| `DefaultValueExists: boolean;`
### Methods
| `procedure SaveToStreamValue(Writer: TX3DWriter); override;`
| `constructor Create(AParentNode: TX3DFileItem; 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; const EqualityEpsilon: Double): boolean; override;`
| `procedure Assign(Source: TPersistent); override;`
| `procedure AssignValue(Source: TX3DField); override;`
| `procedure AssignDefaultValueFromValue; override;`
| `class function TypeName: string; override;`
| `procedure Send(const AValue: LongInt); overload;`
### 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
| `procedure SaveToStreamValue(Writer: TX3DWriter); override;`
| `constructor Create(AParentNode: TX3DFileItem; 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; const EqualityEpsilon: Double): boolean; override;`
| `procedure Assign(Source: TPersistent); override;`
| `procedure AssignValue(Source: TX3DField); override;`
| `procedure AssignDefaultValueFromValue; override;`
| `class function TypeName: string; override;`
| `procedure Send(const AValue: LongInt); overload;`
### Properties
| `property EnumNames[i:integer]: string read GetEnumNames;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:13