ClippingPrimitive.CacheSharedMaterialsFromRenderer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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