This template is nested inside a shader or material template. For each input port in the shader or material that is connected to a multi-output shader, this template specifies which output port on the multi-output shader is connected to the input port. Even if only one of the output ports is actually connected, this template will appear inside the XSI_Shader or XSI_Material template that defines the connected input port.
Each connected input port uses its own XSI_ShaderMultiPortConnection template, so there is only ever one connection defined in each template. This is true even if the same multi-output port connects two of its outputs into two input ports on the same shader or material.
![]()
|
This template corresponds to the CSLXSIShaderMultiPortConnection class. |
6.0
XSI_ShaderMultiPortConnection { <target>, <output_port> }
|
Member name |
Description |
|
Name of the input port connected. For example, the surface parameter on a material. |
|
|
Name of the output port on the multi-output shader. For example, the out port on most shaders or the AO_fake_out port on the Particle Shaper compound shader. |
XSI_Material Scene_Material { 3, "surface","Phong", "shadow","Phong", "Photon","Phong", XSI_MaterialInfo { 0, 0, } XSI_Shader Phong { "Softimage.material-phong.1", 4, 51, 2, "Name","STRING","Phong", "ambient.red","FLOAT",0.300000, "ambient.green","FLOAT",0.300000, "ambient.blue","FLOAT",0.300000, "ambient.alpha","FLOAT",0.000000, "specular.red","FLOAT",1.000000, "specular.green","FLOAT",1.000000, "specular.blue","FLOAT",1.000000, "specular.alpha","FLOAT",0.000000, "ambience.red","FLOAT",0.200000, "ambience.green","FLOAT",0.200000, "ambience.blue","FLOAT",0.200000, "ambience.alpha","FLOAT",1.000000, "shiny","FLOAT",50.000000, "transparency.red","FLOAT",0.000000, "transparency.green","FLOAT",0.000000, "transparency.blue","FLOAT",0.000000, "transparency.alpha","FLOAT",0.000000, "trans_glossy","FLOAT",0.000000, "transparent_samples","INTEGER",0, "reflectivity.red","FLOAT",0.000000, "reflectivity.green","FLOAT",0.000000, "reflectivity.blue","FLOAT",0.000000, "reflectivity.alpha","FLOAT",0.000000, "reflect_glossy","FLOAT",0.000000, "reflect_samples","INTEGER",0, "index_of_refraction","FLOAT",1.000000, "translucency","FLOAT",0.000000, "incandescence.red","FLOAT",1.000000, "incandescence.green","FLOAT",1.000000, "incandescence.blue","FLOAT",1.000000, "incandescence.alpha","FLOAT",0.000000, "inc_inten","FLOAT",0.000000, "notrace","BOOLEAN",0, "diffuse_inuse","BOOLEAN",1, "specular_inuse","BOOLEAN",1, "reflect_inuse","BOOLEAN",1, "refract_inuse","BOOLEAN",1, "incand_inuse","BOOLEAN",1, "translucent_inuse","BOOLEAN",1, "radiance.red","FLOAT",1.000000, "radiance.green","FLOAT",1.000000, "radiance.blue","FLOAT",1.000000, "radiance.alpha","FLOAT",1.000000, "radiance_filter","BOOLEAN",1, "scaletrans","FLOAT",1.000000, "inverttrans","BOOLEAN",0, "usealphatrans","BOOLEAN",0, "scalerefl","FLOAT",1.000000, "invertrefl","BOOLEAN",0, "usealpharefl","BOOLEAN",0, "diffuse","DoubleTrouble","SHADER", "bump","DoubleTrouble","SHADER", XSI_ShaderMultiPortConnection { "diffuse", "outColor", } XSI_ShaderMultiPortConnection { "bump", "outVector", } } XSI_Shader DoubleTrouble { "XSIRTCOMPOUND.DoubleTrouble.1.0", 14, 1, 0, "Name","STRING","DoubleTrouble", } }

Autodesk Crosswalk v4.0