siVariantType Enum


Enumerations

enum   siVariantType {
  siEmpty = 0,
  siInt2 = 2,
  siInt4 = 3,
  siFloat = 4,
  siDouble = 5,
  siString = 8,
  siDispatch = 9,
  siBool = 11,
  siUnknown = 13,
  siByte = 16,
  siUByte = 17,
  siUInt2 = 18,
  siUInt4 = 19,
  siInt = 22,
  siUInt = 23,
  siWStr = 31
}

Detailed Description

The variant type determines the kind of value that can be stored in a parameter.

Note: Only a subset of these types are fully supported and recommended for use: these are siString, siBool, siDouble, siFloat, siInt4, siInt2, siUInt4, siUInt2, siByte, and siUByte. (See DataTypes for more information).
See also:

FCurve


Enumeration Type Documentation

enum siVariantType

Enumerator:
siEmpty  [0] no type
siInt2  [2] 2 bytes signed integer number (-32768..32767)
siInt4  [3] 4 bytes signed integer number (-2147483648..2147483647) (See Long )
siFloat  [4] Float: single precision real number (-3.402823466e+38F..3.402823466e+38F)
siDouble  [5] Double: double precision real number (-1.7976931348623158e+308..1.7976931348623158e+308)
siString  [8] Text represented as a BSTR. See String.
siDispatch  [9] dispatch object. This is an object which exposes methods and properties to scripting. This is the variant type of all objects in the Object Model.
siBool  [11] Boolean
siUnknown  [13] Pointer to a COM object. This object cannot be manipulated from scripting and such an object is not normally exposed in the Object Model.
siByte  [16] byte (-128..127)
siUByte  [17] unsigned byte (0..255)
siUInt2  [18] 2 bytes unsigned integer number (0..65535)
siUInt4  [19] 4 bytes unsigned integer number (0..4294967295)
siInt  [22] signed machine integer. This variant type is not supported, use siInt4 instead.
siUInt  [23] unsigned machine integer. This variant type is not supported, use siUInt4 instead.
siWStr  [31] Null-terminated wide character string. This variant type is rarely encountered because siString is the recommended representation for all Softimage strings.