Lire en anglais Modifier

Partager via


ButtonIconStyle Enum

Definition

Render style for MRTK buttons.

C++
public enum class ButtonIconStyle
Inheritance
ButtonIconStyle

Fields

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.

Applies to

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