ClippingPrimitive.ApplyToSharedMaterial Property

Definition

Toggles whether the clipping features will apply to shared materials or material instances (default).

C++
public:
 property bool ApplyToSharedMaterial { bool get(); void set(bool value); };

Property Value

Remarks

Applying to shared materials will allow for GPU instancing to batch calls between Renderers that interact with the same clipping primitives.

Applies to

Product Versions
MRTK2 Unity 2018 2.6.0, 2.7.0
MRTK2 Unity 2019 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.6.0, 2.7.0, 2.8.0