Version: 2019.1
Experimental: this API is experimental and might be changed or removed in the future.

Flex

struct in UnityEngine.Experimental.UIElements

Switch to Manual

Description

Use this structure to set the IStyle.Flex shorthand property which sets the IStyle.flexGrow, IStyle.flexShrink, and IStyle.flexBasis properties.

Variables

basisThe value for the IStyle.flexBasis property.
growThe value for the IStyle.flexBasis property.
shrinkThe value for the IStyle.flexBasis property.

Constructors

FlexКонструктор.