UserDataMap.LittleEndian
 
 
 

UserDataMap.LittleEndian operator

Introduced

v3.0

Description

Sets or returns a Boolean value representing the Little Endian Flag.

When the UserDataMap is created this flag is initialized to the correct value according to the Endian byte order of the computer that Softimage is running on. For example LittleEndian is set to true on x86 processors and false on MIPS processors. This flag is useful when transferring Softimage scenes with binary data between platforms with different byte order - a plug-in can use this flag to determine whether to byte-swap the data retrieved from UserDataItem.Value. Plug-ins which pack their data in a consistent order no matter what platform they are on can ignore this property.

Note: This can be ignored for templated UserDataMaps, since they always use a little endian binary representation (see CustomProperty.BinaryData).

C# Syntax

// get accessor
Boolean rtn = UserDataMap.LittleEndian;
// set accessor
UserDataMap.LittleEndian = Boolean;

See Also

UserDataItem.Value