跳到主要内容

ICategoryAttributeRule interface

属性的约束规则

Signature:

interface ICategoryAttributeRule 

Properties

Property

Modifiers

Type

Description

enumValues?

string[]

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

notNull?

boolean

(Optional) 是否可以为空; false