Modifica

Condividi tramite


MaterialInstance.CacheSharedMaterialsFromRenderer Property

Definition

Whether to 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.

public:
 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