Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StyleRotate

Represents a style value that can be either a Rotate or a StyleKeyword.
Read time 1 minuteLast updated 10 days ago

Definition

public struct StyleRotate : IStyleValue<Rotate>, IEquatable<StyleRotate>

Constructors

Constructor

Description

StyleRotate(UnityEngine.Quaternion)Creates a StyleRotate from a Quaternion.
StyleRotate(UnityEngine.UIElements.Rotate)Creates a StyleRotate from a Rotate.
StyleRotate(UnityEngine.UIElements.StyleKeyword)Creates a StyleRotate from a StyleKeyword.

Properties

Property

Description

keywordThe style keyword.
valueThe Rotate value.