struct in UnityEngine.UIElements.Experimental
用于一次对多个样式值动画化的容器对象。
backgroundColor | 要在此元素的框中绘制的背景颜色。 |
borderBottomLeftRadius | 在元素的框中绘制圆角矩形时左下角的半径。 |
borderBottomRightRadius | 在元素的框中绘制圆角矩形时右下角的半径。 |
borderBottomWidth | 在布局阶段为此边框的下边缘保留的空间。 |
borderColor | 要在此元素的框中绘制的边框的颜色。 |
borderLeftWidth | 在布局阶段为此边框的左边缘保留的空间。 |
borderRightWidth | 在布局阶段为此边框的右边缘保留的空间。 |
borderTopLeftRadius | 在元素的框中绘制圆角矩形时左上角的半径。 |
borderTopRightRadius | 在元素的框中绘制圆角矩形时右上角的半径。 |
borderTopWidth | 在布局阶段为此边框的上边缘保留的空间。 |
bottom | 布局期间该元素的框下方的距离。 |
color | 绘制元素的文本时要使用的颜色。 |
flexGrow | 指定此项目相对于同一容器中的其余灵活项目将增长多少。 |
flexShrink | 指定此项目相对于同一容器中的其余灵活项目将收缩多少。 |
height | 用于此布局的元素的固定高度。 |
left | 布局期间该元素的框左侧的距离。 |
marginBottom | 在布局阶段为此边距的下边缘保留的空间。 |
marginLeft | 在布局阶段为此边距的左边缘保留的空间。 |
marginRight | 在布局阶段为此边距的右边缘保留的空间。 |
marginTop | 在布局阶段为此边距的上边缘保留的空间。 |
opacity | 指定元素的透明度。 |
paddingBottom | 在布局阶段为此填充的下边缘保留的空间。 |
paddingLeft | 在布局阶段为此填充的左边缘保留的空间。 |
paddingRight | 在布局阶段为此填充的右边缘保留的空间。 |
paddingTop | 在布局阶段为此填充的上边缘保留的空间。 |
right | 布局期间该元素的框右侧的距离。 |
top | 布局期间该元素的框上方的距离。 |
unityBackgroundImageTintColor | 元素的 backgroundImage 的着色颜色。 |
width | 用于此布局的元素的固定高度。 |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.