跳到主要内容

ICategoryAttributeRule 接口

interface ICategoryAttributeRule 

属性的约束规则

属性

enumValues

enumValues?: string[];

限定枚举可选值 当前categoryAttribute 当name为:textureDirection(纹理方向)时: enumValues可以为以下几个值: * HORIZONTAL 水平 * VERTICAL 垂直 * NONE 无 当name为:openDirection(开门方向)时: enumValues可以为以下几个值: * LEFT 左开门 * RIGHT 右开门 * TOP 上开门 * BOTTOM 下开门 * NONE 无

notNull

notNull?: boolean;

是否可以为空; false