Optionalkey: string | symboldefine name
OptionalcustomDefines: anyobject for setting define value (like ShaderMaterial.defines), otherwise this.material.defines is taken
access this.defines instead of this.material.defines
OptionalonChange: (...args: any[]) => anyfunction to call when the value changes. The function is called with the following parameters: [key, newVal]. Note: needsUpdate is set to true for this/material if onChange is not provided.
OptionalprocessVal: (newVal: any) => anyfunction that processes the value before setting it.
OptionalinvProcessVal: (val: any) => anyfunction that processes the value before returning it.
Decorator to create a three.js style define in this.material or this and bind to a property. see also - matDefineBool