Editar

Compartilhar via


ButtonIconStyle Enum

Definition

Render style for MRTK buttons.

public enum class ButtonIconStyle
public enum ButtonIconStyle
type ButtonIconStyle = 
Public Enum ButtonIconStyle
Inheritance
ButtonIconStyle

Fields

Char 2

Renders using TextMeshPro. Icon texture is set by changing the character.

None 3

Hides the icons.

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.

Applies to