ClippingPrimitive.ToggleClippingFeature Method
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.
Overloads
ToggleClippingFeature(Boolean) |
Enables or disables clipping for all renderers. |
ToggleClippingFeature(Material, Boolean) |
Enables or disables clipping on a material. |
ToggleClippingFeature(Material[], Boolean) |
Enables or disables clipping for a list of materials. |
ToggleClippingFeature(Boolean)
Enables or disables clipping for all renderers.
protected void ToggleClippingFeature (bool keywordOn);
member this.ToggleClippingFeature : bool -> unit
Protected Sub ToggleClippingFeature (keywordOn As Boolean)
Parameters
- keywordOn
- Boolean
True to turn on clipping.
Applies to
ToggleClippingFeature(Material, Boolean)
Enables or disables clipping on a material.
protected void ToggleClippingFeature (UnityEngine.Material material, bool keywordOn);
member this.ToggleClippingFeature : UnityEngine.Material * bool -> unit
Protected Sub ToggleClippingFeature (material As Material, keywordOn As Boolean)
Parameters
- material
- UnityEngine.Material
- keywordOn
- Boolean
True to turn on clipping.
Applies to
ToggleClippingFeature(Material[], Boolean)
Enables or disables clipping for a list of materials.
protected void ToggleClippingFeature (UnityEngine.Material[] materials, bool keywordOn);
member this.ToggleClippingFeature : UnityEngine.Material[] * bool -> unit
Protected Sub ToggleClippingFeature (materials As Material(), keywordOn As Boolean)
Parameters
- materials
- UnityEngine.Material[]
The materials to update.
- keywordOn
- Boolean
True to turn on clipping.