ButtonIconStyle Enum
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.
Render style for MRTK buttons.
C++
public enum class ButtonIconStyle
public enum ButtonIconStyle
type ButtonIconStyle =
Public Enum ButtonIconStyle
- Inheritance
-
ButtonIconStyle
Name | Value | Description |
---|---|---|
Quad | 0 | Renders using a material on a quad. Icon texture is set using a MaterialPropertyBlock. |
Sprite | 1 | Renders using a sprite renderer. Icon texture is set by changing the sprite. |
Char | 2 | Renders using TextMeshPro. Icon texture is set by changing the character. |
None | 3 | Hides the icons. |
Produit | 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 |