ClippingPrimitive.CacheSharedMaterialsFromRenderer Property


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.

 property bool CacheSharedMaterialsFromRenderer { bool get(); void set(bool value); };
public bool CacheSharedMaterialsFromRenderer { get; set; }
member this.CacheSharedMaterialsFromRenderer : bool with get, set
Public Property CacheSharedMaterialsFromRenderer As Boolean

Property Value


Applies to