This template represents a texture layer
Since the colorconnection and maskconnection parameters can be connected to multiple output port shaders, this template can have XSI_ShaderMultiPortConnection templates as children to specify to exactly which port it's connected.
![]()
|
The parameters of this template can be animated so this template can have SI_FCurve templates as children. This template corresponds to the CSLXSITextureLayer class. |
6.0
XSI_TextureLayer <name> { <order>, <mute>, <solo>, <colorconnection>, <red>, <green>, <blue>, <alpha>, <colorpremulted>, <ignorecoloralpha>, <invertcoloralpha>, <alphacolor>, <maskconnection>, <mask>, <invertmask>, <maskmode>, <maskthreshold>, <weight>, <mode> XSI_TextureLayerPort // one for each connected port XSI_ShaderMultiPortConnection // one for each port connected to a multi-output shader }
|
Member name |
Description |
|
order |
Position of this layer in the texture layer container. |
|
mute |
Value of the mute parameter for this layer (true/false). |
|
solo |
Value of the solo parameter for this layer (true/false). |
|
colorconnection |
Name of the shader connected to the color parameter. |
|
red |
Float value of the red parameter for this layer. |
|
green |
Float value of the green parameter for this layer. |
|
blue |
Float value of the blue parameter for this layer. |
|
alpha |
Float value of the alpha parameter for this layer. |
|
colorpremulted |
Value of the colorpremulted parameter for this layer (true/false). |
|
ignorecoloralpha |
Value of the ignorecoloralpha parameter for this layer (true/false). |
|
invertcoloralpha |
Value of the invertcoloralpha parameter for this layer (true/false). |
|
alphacolor |
Value of the alphacolor parameter for this layer (true/false). |
|
maskconnection |
Name of the shader connected to the mask parameter. |
|
mask |
Float value of the mask. |
|
invertmask |
Value of the invertmask parameter for this layer (true/false). |
|
maskmode |
Value of the maskmode parameter for this layer (true/false). |
|
maskthreshold |
Value of the maskthreshold parameter for this layer. |
|
weight |
Float value of the weight parameter for this layer. |
|
mode |
Mode for the image layer. parameter for this layer. Possible values: 0 = Over 1 = In 2 = Out 3 = Plus 4 = Bounded Plus 5 = Hide/Reveal (Multiply) 6 = Hide/Reveal Bounded (Multiply) 7 = Difference 8 = Darken 9 = Lighten 10 = Hard Light 11 = Soft Light 12 = Screen 13 = Overlay 14 = Blend |
SI_MaterialLibrary DefaultLib { 1, XSI_Material Scene_Material { ... } XSI_Shader Phong { ... XSI_TextureLayer ShdTxtLayer { 0, 1, 1, "ShaderCompound1", 0.300000, 0.400000, 0.500000, 0.600000, 0, 1, 0, 1, "ShaderCompound1", 0.666000, 1, 0, 0.503000, 0.888000, 4, XSI_TextureLayerPort { "ambient", 0, 0.500000, 0, 0, } } XSI_TextureLayerPort { "diffuse", 0, 0.700000, 0, 0, } XSI_ShaderMultiPortConnection { "color", "diffuse", } XSI_ShaderMultiPortConnection { "mask", "Mask", } } } XSI_Shader ShaderCompound1 { ... } XSI_TextureLayer MatTxtLayer { 0, 1, 1, "", 0.770000, 0.660000, 0.550000, 0.440000, 1, 1, 0, 0, "ShaderCompound2", 0.888000, 0, 4, 0.123000, 0.456000, 1, XSI_TextureLayerPort { "Displacement", 1, 0.660000, 0, 0, } } XSI_ShaderMultiPortConnection { "mask", "Mask2", } } XSI_Shader ShaderCompound2 { ... } } }
Autodesk Crosswalk v4.0