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

Flex

struct in UnityEngine.Experimental.UIElements

切换到手册

描述

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

变量

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

构造函数

Flex构造函数。