Enumeration AttributeNumericType

The AttributeNumericType enum tells the numeric type of the attributes of the elements of the DMU.

The DMU contains a collection of pieces (3D or not). All these pieces have information located inside them. The AttributeNumericType enum tells about the numeric type of the attributes, or ATTR_NUM_UNKNOWN if the numeric type is not known.

Javascript only exposes untyped numbers, but the 3djuump Infinite API uses several numeric types internally. If an attribute has the type ATTR_NUMBER or ATTR_NUMBER_RANGE, then its AttributeNumericType is known, else all other attribute types have the numeric type ATTR_NUM_UNKNOWN.


Metadata

Enumeration Members

ATTR_NUM_BYTE: 0

The attribute has the numeric type byte (8 bits) ranging from [-128,127].

ATTR_NUM_DOUBLE: 5

The attribute has the numeric type double (64 bits) ranging from [-Number.MAX_VALUE,Number.MAX_VALUE].

ATTR_NUM_FLOAT: 4

The attribute has the numeric type float (32 bits) ranging from [-3.402823466e+38,3.402823466e+38].

ATTR_NUM_INT: 2

The attribute has the numeric type int (32 bits) ranging from [-2147483648,2147483647].

ATTR_NUM_LONG_LONG: 3

The attribute has the numeric type long long (64 bits) ranging from [-9223372036854775808,9223372036854775807].

ATTR_NUM_SHORT: 1

The attribute has the numeric type short (16 bits) ranging from [-32768,32767].

ATTR_NUM_UNKNOWN: -1

Unknown attribute numeric type, the attribute is not numeric.