ClippingPrimitive.CacheSharedMaterialsFromRenderer Property

Definition

Whether to let managed MaterialInstances use a cached copy of cachedRenderer.sharedMaterials or call sharedMaterials on the Renderer directly. Enabling the option will lead to better performance but you must turn it off before modifying sharedMaterials of the Renderer.

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

Property Value

Applies to

Product Versions
MRTK2 Unity 2019 2.8.0
MRTK2 Unity 2020 2.8.0