Function SpatialMaterial.flagsUseShadowToOpacity

If true, enables the "shadow to opacity" render mode where lighting modifies the alpha so shadowed areas are opaque and non-shadowed areas are transparent. Useful for overlaying shadows onto a camera feed in AR.

bool flagsUseShadowToOpacity() nothrow @property @nogc;

void flagsUseShadowToOpacity (
  bool v
) nothrow @property @nogc;