XSI_UserData

Stores user data attached to Softimage scene entities.

| This template corresponds to the CSLUserData class.

Introduced

3.6

Template

    XSI_UserData <name>{
       <data_size>,
       <comp_size>,
       <data_array>,
       <entities_id>
    }

Members

Member name | Description
data_size | Number of bytes in the array (data is not changed in anyway).
comp_size | Number of components affected.
data_array | Array of bytes for the data. This is the actual user data.
entities_id | Specifies the subcomponent to which the user data is assigned.

Example

       SI_Cluster PntCluster {
           "arc3",
           "AVERAGE",
           "",
           6,
           1,
           4,
           7,
           10,
           13,
           16,
           XSI_ClusterInfo {
              "VERTEX",
           }

           XSI_UserDataList arc3.crvlist.cls.PntCluster.UserDataExample {
              2,
              1,
              XSI_UserData  {
                  4,  // 4 bytes
                  1,  // # of components affected
                  49, // byte[0]
                  0,  // byte[1]
                  48, // byte[2]
                  0,  // byte[3]
                  2,  // component w/user data
              }

              XSI_UserData  {
                  6,  // 6 bytes
                  1,  // # of components affected
                  49, // byte[0]
                  0,  // byte[1]
                  48, // byte[2]
                  0,  // byte[3]
                  48, // byte[4]
                  0,  // byte[5]
                  3,  // component w/user data
              }

           }

       }

Autodesk Softimage v7.5