Share

MultiOutputChannelTexmapToTexmap : textureMap

MultiOutputChannelTexmapToTexmap - superclass: textureMap; super-superclass:material - 3:1 - classID: #(2305749756L, 1153266751L)

This class is used for texturemap classes that have multiple outputs, and not just an RGB or RGBA output. When you assign this type of texturemap to a Material map, this class gets automatically created between the multiple output map and the material map slot.

For an example of how to use this class, see OSLMap: textureMap

Constructor

MultiOutputChannelTexmapToTexmap

Properties

<MultiOutputChannelTexmapToTexmap>.numInputs     Integer    default: 1   --  integer

The number of inputs.

<MultiOutputChannelTexmapToTexmap>.outputChannelIndex     Integer    default: 1   --  integer

The channel index for the output.

<MultiOutputChannelTexmapToTexmap>.sourceMap     UndefinedClass    default: undefined   --  texturemap; Source_Map

The source map.

MultiOutputChannelTexmapToTexmap interfaces:

 Interface: iMultiOutputConsumer

Properties:

    .numInputs : integer : Read

The number of inputs.

Methods:

    <boolean>SetOutputToInput <index>input_index <maxObject>output_rtarg <index>output_index
    <maxObject>GetOutputRefTargetFromInput <index>input_index
    <index>GetOutputIndexFromInput <index>input_index
    <boolean>CanAssignOutputToInput <index>input_index <maxObject>output_rtarg <index>output_index
    <string>GetInputName <index>input_index
       GetInputName - no automatic redraw after invoked
    <string>GetInputLocalizedName <index>input_index
       GetInputLocalizedName - no automatic redraw after invoked

Actions:

Was this information helpful?