Scripting API

IResolvedStyle

interface in UnityEngine.UIElements · UnityEngine.UIElementsModule

64 of 83 of Unity's membersUnity's documentation
In Tassix

An element's style as resolved: the cascade's values, and its layout's sizes and positions.

Properties 64

Align alignContent { get; }
Align alignItems { get; }
Align alignSelf { get; }
Color backgroundColor { get; }
Background backgroundImage { get; }
Color borderBottomColor { get; }
float borderBottomLeftRadius { get; }
float borderBottomRightRadius { get; }
float borderBottomWidth { get; }
Color borderLeftColor { get; }
float borderLeftWidth { get; }
Color borderRightColor { get; }
float borderRightWidth { get; }
Color borderTopColor { get; }
float borderTopLeftRadius { get; }
float borderTopRightRadius { get; }
float borderTopWidth { get; }
float bottom { get; }
Color color { get; }
DisplayStyle display { get; }
StyleFloat flexBasis { get; }
FlexDirection flexDirection { get; }
float flexGrow { get; }
float flexShrink { get; }
Wrap flexWrap { get; }
float fontSize { get; }
float height { get; }
Justify justifyContent { get; }
float left { get; }
float letterSpacing { get; }
float marginBottom { get; }
float marginLeft { get; }
float marginRight { get; }
float marginTop { get; }
StyleFloat maxHeight { get; }
StyleFloat maxWidth { get; }
StyleFloat minHeight { get; }
StyleFloat minWidth { get; }
float opacity { get; }
float paddingBottom { get; }
float paddingLeft { get; }
float paddingRight { get; }
float paddingTop { get; }
Position position { get; }
float right { get; }
Rotate rotate { get; }
Scale scale { get; }
TextOverflow textOverflow { get; }
float top { get; }
Vector3 transformOrigin { get; }
IEnumerable<TimeValue> transitionDelay { get; }
IEnumerable<TimeValue> transitionDuration { get; }
IEnumerable<StylePropertyName> transitionProperty { get; }
IEnumerable<EasingFunction> transitionTimingFunction { get; }
Vector3 translate { get; }
Color unityBackgroundImageTintColor { get; }
Font? unityFont { get; }
FontStyle unityFontStyleAndWeight { get; }
float unityParagraphSpacing { get; }
TextAnchor unityTextAlign { get; }
Visibility visibility { get; }
WhiteSpace whiteSpace { get; }
float width { get; }
float wordSpacing { get; }

Not in Tassix yet 19

aspectRatio backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize filter unityEditorTextRenderingMode unityFontDefinition unityMaterial unitySliceBottom unitySliceLeft unitySliceRight unitySliceScale unitySliceTop unitySliceType unityTextGenerator unityTextOutlineColor unityTextOutlineWidth unityTextOverflowPosition