ClippingPrimitive.ClearRenderers Method
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.
ClearRenderers() |
Removes all renderers in the list of objects this clipping primitive clips. |
ClearRenderers(Boolean) |
Removes all renderers in the list of objects this clipping primitive clips. |
Removes all renderers in the list of objects this clipping primitive clips.
C++
public:
void ClearRenderers();
public void ClearRenderers ();
member this.ClearRenderers : unit -> unit
Public Sub ClearRenderers ()
Applies to
MRTK2 Unity 2018 2.6.0 et autres versions
Produit | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0 |
Removes all renderers in the list of objects this clipping primitive clips.
C#
public void ClearRenderers (bool autoDestroyMaterial = true);
member this.ClearRenderers : bool -> unit
Public Sub ClearRenderers (Optional autoDestroyMaterial As Boolean = true)
Parameters
- autoDestroyMaterial
- Boolean
Applies to
MRTK2 Unity 2018 2.7.0 et autres versions
Produit | Versions |
---|---|
MRTK2 Unity 2018 | 2.7.0 |
MRTK2 Unity 2019 | 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.7.0, 2.8.0 |