Optional
key: string | symboldefine name
Optional
customDefines: anyobject for setting define value (like ShaderMaterial.defines), otherwise this.material.defines is taken
access this.defines instead of this.material.defines
Optional
onChange: (...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.
Optional
processVal: (newVal: any) => anyfunction that processes the value before setting it.
Optional
invProcessVal: (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