interface in UnityEngine.Experimental.UIElements
マニュアルに切り替えるThis interface provides access to a VisualElement style data.
Reading properties from this object will read from the shared copy of style data, if multiple elements match the same USS rules. When writing to any of the properties the target element will start owning its own style data and stop using the shared copy. Writing to a property will mask the value coming from USS with the provided value however other properties will still match the values from USS.
alignContent | Alignment of the whole area of children on the cross axis if they span over multiple lines in this container. |
alignItems | Alignment of children on the cross axis of this container. |
alignSelf | Similar to align-items, but only for this specific element. |
backgroundColor | Background color to paint in the element's box. |
backgroundImage | Background image to paint in the element's box. |
backgroundSize | Background image scaling in the element's box. |
borderBottom | Space reserved for the bottom edge of the border during the layout phase. |
borderBottomLeftRadius | This is the radius of the bottom-left corner when a rounded rectangle is drawn in the element's box. |
borderBottomRightRadius | This is the radius of the bottom-right corner when a rounded rectangle is drawn in the element's box. |
borderBottomWidth | Space reserved for the bottom edge of the border during the layout phase. |
borderColor | Color of the border to paint inside the element's box. |
borderLeft | Space reserved for the left edge of the border during the layout phase. |
borderLeftWidth | Space reserved for the left edge of the border during the layout phase. |
borderRadius | This is the radius of every corner when a rounded rectangle is drawn in the element's box. |
borderRight | Space reserved for the right edge of the border during the layout phase. |
borderRightWidth | Space reserved for the right edge of the border during the layout phase. |
borderTop | Space reserved for the top edge of the border during the layout phase. |
borderTopLeftRadius | This is the radius of the top-left corner when a rounded rectangle is drawn in the element's box. |
borderTopRightRadius | This is the radius of the top-right corner when a rounded rectangle is drawn in the element's box. |
borderTopWidth | Space reserved for the top edge of the border during the layout phase. |
cursor | Mouse cursor to display when the mouse pointer is over an element. |
flex | Ration of this element in its parent during the layout phase. |
flexBasis | Initial main size of a flex item, on the main flex axis. The final layout mught be smaller or larger, according to the flex shrinking and growing determined by the flex property. |
flexDirection | Direction of the main axis to layout children in a container. |
flexGrow | Specifies how much the item will grow relative to the rest of the flexible items inside the same container. |
flexShrink | Specifies how the item will shrink relative to the rest of the flexible items inside the same container. |
flexWrap | Placement of children over multiple lines if not enough space is available in this container. |
font | Font to draw the element's text. |
fontSize | Font size to draw the element's text. |
fontStyle | Font style to draw the element's text. |
height | Fixed height of an element for the layout. |
justifyContent | Justification of children on the main axis of this container. |
marginBottom | Space reserved for the bottom edge of the margin during the layout phase. |
marginLeft | Space reserved for the left edge of the margin during the layout phase. |
marginRight | Space reserved for the right edge of the margin during the layout phase. |
marginTop | Space reserved for the top edge of the margin during the layout phase. |
maxHeight | Maximum height for an element, when it is flexible or measures its own size. |
maxWidth | Maximum width for an element, when it is flexible or measures its own size. |
minHeight | Minimum height for an element, when it is flexible or measures its own size. |
minWidth | Minimum height for an element, when it is flexible or measures its own size. |
paddingBottom | Space reserved for the bottom edge of the padding during the layout phase. |
paddingLeft | Space reserved for the left edge of the padding during the layout phase. |
paddingRight | Space reserved for the right edge of the padding during the layout phase. |
paddingTop | Space reserved for the top edge of the padding during the layout phase. |
positionBottom | Bottom distance from the element's box during layout. |
positionLeft | Left distance from the element's box during layout. |
positionRight | Right distance from the element's box during layout. |
positionTop | Top distance from the element's box during layout. |
positionType | Element's positioning in its parent container. |
sliceBottom | Size of the 9-slice's bottom edge when painting an element's background image. |
sliceLeft | Size of the 9-slice's left edge when painting an element's background image. |
sliceRight | Size of the 9-slice's right edge when painting an element's background image. |
sliceTop | Size of the 9-slice's top edge when painting an element's background image. |
textAlignment | Text alignment in the element's box. |
textClipping | Clipping if the text does not fit in the element's box. |
textColor | Color to use when drawing the text of an element. |
visibility | Specifies whether or not an element is visible. |
width | Fixed width of an element for the layout. |
wordWrap | Word wrapping over multiple lines if not enough space is available to draw the text of an element. |