ClippingPrimitive.ToggleClippingFeature 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.
ToggleClippingFeature(Boolean) | |
ToggleClippingFeature(Material, Boolean) | |
ToggleClippingFeature(Material[], Boolean) |
C++
protected:
void ToggleClippingFeature(bool keywordOn);
protected void ToggleClippingFeature (bool keywordOn);
member this.ToggleClippingFeature : bool -> unit
Protected Sub ToggleClippingFeature (keywordOn As Boolean)
Parameters
- keywordOn
- Boolean
Applies to
MRTK2 Unity 2018 2.7.0 and other versions
Product | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
C++
protected:
void ToggleClippingFeature(UnityEngine::Material ^ material, bool keywordOn);
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
Applies to
MRTK2 Unity 2018 2.7.0 and other versions
Product | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
C++
protected:
void ToggleClippingFeature(cli::array <UnityEngine::Material ^> ^ materials, bool keywordOn);
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[]
- keywordOn
- Boolean
Applies to
MRTK2 Unity 2018 2.7.0 and other versions
Product | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |