MAXScript Extensions > MAXScript Extensions for mental ray > Conversion, Math and Pass-Through Shaders >

# Conversion_Color_To_Float : textureMap

    Conversion_Color_To_Float - superclass: textureMap; super-superclass:material - 10:2 - classID: #(2004031007, 1325302613)

This is a multiple-output MetaSL shader which performs Color To Float conversion. Available in 3ds Max 2011 and higher.

Constructors:

    Conversion_Color_To_Float...

Properties:

    <Conversion_Color_To_Float>.'#TheList'

    <Conversion_Color_To_Float>.'#Shader_Version'

    <Conversion_Color_To_Float>.'#numInputs'

    <Conversion_Color_To_Float>.ColorColor default: (color 255 255 255) -- animatable; fRGBA color; Controller Scaling: ([1,1,1,1] : (color 255 255 255));

    <Conversion_Color_To_Float>.Color_connected BooleanClass default: false -- boolean

    <Conversion_Color_To_Float>.Color_paramName UndefinedClass default: undefined -- string;

    <Conversion_Color_To_Float>.Color_shader UndefinedClass default: undefined -- texturemap

    <Conversion_Color_To_Float>.Connection_struct__0000__Conversion_color_to_float UndefinedClass default: undefined -- paramBlock2

    <Conversion_Color_To_Float>.Conversion_color_to_float UndefinedClass default: undefined -- paramBlock2

    <Conversion_Color_To_Float>.numIMultipleOutputChannels Integer default: 1 -- integer;

## Conversion_Color_To_Float interfaces:

    Interface:IMtlRender_Compability_MtlBase

Properties:

Methods:

Actions:

    Interface:iMultipleOutputChannels

Properties:

    .numIMultipleOutputChannels: integer : Read

Methods:

    <TSTR by value>getIMultipleOutputChannelLocalizedName <index>index

    <TSTR by value>getIMultipleOutputChannelName <index>index

    Interface:iMultiOutputConsumer

Properties:

    .numInputs: integer : Read

Methods:

    <bool>SetOutputToInput <index>input_index <maxObject>output_rtarg <index>output_index

    <maxObject>GetOutputRefTargetFromInput <index>input_index

    <index>GetOutputIndexFromInput <index>input_index

    <bool>CanAssignOutputToInput <index>input_index <maxObject>output_rtarg <index>output_index

    <TSTR by value>GetInputName<index>input_index

    <TSTR by value>GetInputLocalizedName<index>input_index