XSI_ShaderInstanceData

When materials are shared, shaders with texture projections have shader instance data. This instance data is stored in the XSI_ShaderInstanceData template.

Introduced

3.5

Template

XSI_ShaderInstanceData { 
   <sObjectName>, 
   <nbParameters>, 
   <parameter>,
}

Example

SI_MaterialLibrary MATLIB-tex_test { 
   1, 
   XSI_Material DefaultLib.Material { 
       ...
       XSI_Shader Image { 
          "Softimage.txt2d-image-explicit.1", 
          4, 
          30, 
          21, 
          "Name","STRING","Image",
          "tspace_id","STRING","Texture_Projection",
          ...
          XSI_ShaderInstanceData { 
              "Model1.sphere",  // Full name of an XSI object
              1,                   // Number of instance values
              "tspace_id","STRING","Texture_Projection1", // Instance value
          }
       }
       ...
   }
}


Softimage|Crosswalk v3.11