ConstructorOptions

external interface ConstructorOptions(source)

Properties

Link copied to clipboard
abstract external val arrayLength: Int?

The number of array elements. Only defined for fixed length arrays.

Link copied to clipboard
abstract external val componentType: MetadataComponentType?

The component type of the property. This includes integer (e.g. INT8 or UINT16), and floating point (FLOAT32 and FLOAT64) values.

Link copied to clipboard
abstract external val default: JsAny?

A default value to use when an entity's property value is not defined.

Link copied to clipboard
abstract external val description: String?

The description of the property.

Link copied to clipboard
abstract external val enumType: MetadataEnum?

The enum type of the property. Only defined when type is ENUM.

Link copied to clipboard
abstract external val extensions: JsAny?

An object containing extensions.

Link copied to clipboard
abstract external val extras: JsAny?

Extra user-defined properties.

Link copied to clipboard
abstract external val id: String

The ID of the property.

Link copied to clipboard
abstract external val isArray: Boolean?

True if a property is an array (either fixed length or variable length), false otherwise. Default value - false

Link copied to clipboard
abstract external val isVariableLengthArray: Boolean?

True if a property is a variable length array, false otherwise. Default value - false

Link copied to clipboard
abstract external val max: JsAny?

A number or an array of numbers storing the maximum allowable value of this property. Only defined when type is a numeric type.

Link copied to clipboard
abstract external val min: JsAny?

A number or an array of numbers storing the minimum allowable value of this property. Only defined when type is a numeric type.

Link copied to clipboard
abstract external val name: String?

The name of the property.

Link copied to clipboard
abstract external val noData: JsAny?

The no-data sentinel value that represents null values.

Link copied to clipboard
abstract external val normalized: Boolean?

Whether the property is normalized. Default value - false

Link copied to clipboard
abstract external val offset: JsAny?

The offset to be added to property values as part of the value transform.

Link copied to clipboard
abstract external val required: Boolean?

Whether the property is required. Default value - false

Link copied to clipboard
abstract external val scale: JsAny?

The scale to be multiplied to property values as part of the value transform.

Link copied to clipboard
abstract external val semantic: String?

An identifier that describes how this property should be interpreted.

Link copied to clipboard
abstract external val type: MetadataType

The type of the property such as SCALAR, VEC2, VEC3.