Skip to content

MaterialGlView

MaterialGlView#

(Gl View)

  • Abstract Class
  • Category: /Material
  • Default object name: gl_view
  • Inherits from: ProjectItem > Material

No corresponding User page.

Description#

A material that displays different shading for the gl view

Public Attributes#

Type Name Visual Hint Description
bool use_flat_normal VISUAL_HINT_DEFAULT
double[3] light_color VISUAL_HINT_COLOR
double[3] dark_color VISUAL_HINT_COLOR
bool show_edges VISUAL_HINT_DEFAULT
double zoom_factor VISUAL_HINT_DEFAULT

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 "MaterialGlView" "Material" {
    abstract yes
    #version 0.91
    doc "A material that displays different shading for the gl view"
    bool "use_flat_normal" {
        value yes
    }
    color "light_color" {
        value 0.0 0.0 0.0
    }
    color "dark_color" {
        value 0.0 0.0 0.0
    }
    bool "show_edges" {
        value no
    }
    double "zoom_factor" {
        value 1
    }
}