Skip to content

MaterialMatte

MaterialMatte#

(Matte)

Go to User page.

Description#

A material that define a matte color, with no light shading.

Public Attributes#

Type Name Visual Hint Description
double[3] color VISUAL_HINT_COLOR Set the color of the material.
double alpha VISUAL_HINT_PERCENTAGE Set the opacity of the material.
long alpha_mode VISUAL_HINT_DEFAULT Set how the transparency is handled. In black hole mode, no object is visible behind.

Inherited Public Attributes#

Type Name Visual Hint Description
bool export_aovs VISUAL_HINT_DEFAULT Compute and write Aovs defined in the shading graph
reference (AovStore) arbitrary_output_variables VISUAL_HINT_DEFAULT Set the list of extra channels to write to the image.

CID#

class "MaterialMatte" "Material" {
    #version 0.91
    icon "../icons/object_icons/material_matte.iconrc"
    doc "A material that define a matte color, with no light shading."
    attribute_group "matte" {
        color "color" {
            doc "Set the color of the material."
            texturable yes
            animatable yes
            value 0.0 0.0 0.0
        }
        percentage "alpha" {
            doc "Set the opacity of the material."
            texturable yes
            animatable yes
            numeric_range yes 0.0 1
            ui_range yes 0.0 1
            value 1
        }
        long "alpha_mode" {
            doc "Set how the transparency is handled. In black hole mode, no object is visible behind."
            preset "Black hole" "0"
            preset "Transparent" "1"
            value 0
        }
    }
}