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.

  1. bool flagsUseShadowToOpacity [@property getter]
  2. bool flagsUseShadowToOpacity [@property setter]
    struct SpatialMaterial
    @nogc nothrow @property
    void
    flagsUseShadowToOpacity
    (
    bool v
    )

Meta