Function SpatialMaterial.setFlag
If true
, enables the specified flag. Flags are optional behaviour that can be turned on and off. Only one flag can be enabled at a time with this function, the flag enumerators cannot be bit-masked together to enable or disable multiple flags at once. Flags can also be enabled by setting the corresponding member to true
. See flags
enumerator for options.
void setFlag
(
const(long) flag,
const(bool) enable
) nothrow @nogc;