POV-Ray : Documentation : 2.8.4.2 Identifier Declaration
  POV-Ray 3.6 Documentation Online View  
2.8.4.1 File Inclusion   2.8.4.3 File Input/Output

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

2.8.4.1 File Inclusion   2.8.4.3 File Input/Output


Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.