3D Lingo Dictionary > T-Z > type (shader) |  |

type (shader)

Syntax

    member(whichCastmember).shader(whichShader).type

Description

3D shader property; the shader type of the referenced shader object. This property's possible values are:

| `#standard` indicates that this is a standard shader.
| `#painter` indicates that this is a painter shader.
| `#newsprint` indicates that this is a newsprint shader.
| `#engraver` indicates that this is an engraver shader.

Examples

This statement shows that the shader used by the model named box2 is a painter shader.

    put member("Scene").model("box2").shader.type
    -- #painter

See also

`newShader`