SFEnum -- A single-value field that contains an enumerated type value. (Removed in VRML2.0)
-
Nodes that use this field class define mnemonic names for the values.
-
SFEnums are written to file as a mnemonic enumerated type name.
-
The name differs among uses of this field in various node classes.
|
SFString -- A field containing an ASCII string (sequence of characters). Stored as UTF-8 International Character Set in VRML2.0 (Only relevant for general languages)
-
SFStrings are written to file as a sequence of ASCII characters in double quotes (optional if the string doesn't contain any whitespace).
-
Any characters (including newlines) may appear within the quotes.
-
As usual, to include a double quote character within the string, precede it with a backslash.
|
For example valid strings are:
-
Testing
-
"One, Two, Three"
-
"He said, \"Wise Words are uttered in CPS616!\""
|