|
|
2.8.4.2 Identifier Declaration
-
Create an identifier for a value, object, etc.
-
IDENTIFIER_DECLARATION:
-
#declare IDENTIFIER = RVALUE [;] | #local
IDENTIFIER = RVALUE [;]
-
Up to 127 characters, starting with a letter, consisting of letters, digits and/or the
underscore. The semicolon is required for a FLOAT, VECTOR or COLOR declaration.
-
RVALUE:
-
FLOAT | VECTOR | COLOR | USER_FUNCTION | STRING | ARRAY_REFERENCE | SPLINE | TRANSFORM | CAMERA | LIGHT |
OBJECT | MATERIAL | INTERIOR | TEXTURE | TEXTURE_MAP | PIGMENT | COLOR_MAP | PIGMENT_MAP | NORMAL | SLOPE_MAP |
NORMAL_MAP | FINISH | MEDIA | DENSITY | DENSITY_MAP | FOG | RAINBOW | SKY_SPHERE
-
Destroy an identifier:
-
UNDEF_DIRECTIVE:
-
#undef IDENTIFIER
Quick Reference Contents
|
|