MAXScript Extensions > MAXScript Extensions for mental ray > adsk Shaders >

# adsk_Utility_ColorByObject_Switch : textureMap

    adsk_Utility_ColorByObject_Switch : textureMap {7773161f,81115a64}

Available in 3ds Max 2011 and higher.

Constructor:

    Class instances not creatable by MAXScript

Properties:

    <adsk_Utility_ColorByObject_Switch>.color_by_object : boolean

    <adsk_Utility_ColorByObject_Switch>.material_color : fRGBA color

    <adsk_Utility_ColorByObject_Switch>.color_by_object_connected : boolean

    <adsk_Utility_ColorByObject_Switch>.color_by_object_shader : texturemap

    <adsk_Utility_ColorByObject_Switch>.color_by_object_paramName : string

    <adsk_Utility_ColorByObject_Switch>.material_color_connected : boolean

    <adsk_Utility_ColorByObject_Switch>.material_color_shader : texturemap

    <adsk_Utility_ColorByObject_Switch>.material_color_paramName : string

    <adsk_Utility_ColorByObject_Switch>.TheList : maxObject array

    <adsk_Utility_ColorByObject_Switch>.Shader_Version : integer

## adsk_Utility_ColorByObject_Switch interfaces:

    Interface: IMtlRender_Compability_MtlBase

Properties:

Methods:

Actions:

#### See Also

- mental ray Shaders Index

- MAXScript Extensions for mental ray