ButtonIconStyle Enum

Definition

Render style for MRTK buttons.

public enum class ButtonIconStyle
public enum ButtonIconStyle
type ButtonIconStyle = 
Public Enum 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