Class TSFStringEnum

Unit

Declaration

type TSFStringEnum = class(TSFString)

Description

X3D field that contains a value from a specified set. This represents a commonly used VRML/X3D construct where SFString field is used to hold values from some limited set, thus emulating an "enumerated" field.

Access the EnumValue to get / set the field value as an integer, which is an index to ValueNames array.

Source: src/scene/x3d/castlefields_x3dsinglefield_descendants.inc (line 687).

Hierarchy

Overview

Methods

Public constructor Create(const AParentNode: TX3DFileItem; const AExposed: boolean; const AName: String; const AEnumNames: PConstantStringArray; const AEnumNamesCount: Cardinal; const AValue: Integer);
Public procedure SendEnumValue(const NewValue: Integer);

Properties

Public property EnumValue: Integer read FEnumValue write SetEnumValue;
Public property DefaultEnumValue: Integer read FDefaultEnumValue write SetDefaultEnumValue;

Description

Methods

Public constructor Create(const AParentNode: TX3DFileItem; const AExposed: boolean; const AName: String; const AEnumNames: PConstantStringArray; const AEnumNamesCount: Cardinal; const AValue: Integer);

This item has no description.

Source: src/scene/x3d/castlefields_x3dsinglefield_descendants.inc (line 702).

Public procedure SendEnumValue(const NewValue: Integer);

This item has no description.

Source: src/scene/x3d/castlefields_x3dsinglefield_descendants.inc (line 710).

Properties

Public property EnumValue: Integer read FEnumValue write SetEnumValue;

This item has no description.

Source: src/scene/x3d/castlefields_x3dsinglefield_descendants.inc (line 706).

Public property DefaultEnumValue: Integer read FDefaultEnumValue write SetDefaultEnumValue;

This item has no description.

Source: src/scene/x3d/castlefields_x3dsinglefield_descendants.inc (line 708).


Generated by PasDoc 0.17.0.snapshot.