3D Lingo Dictionary > C-D > deleteShader |  |

deleteShader

Syntax

    member(whichCastmember).deleteShader(whichShader)
    member(whichCastmember).deleteShader(index)

Description

3D command; removes the shader from the cast member.

Example

The first line of this example deletes the shader Road from the cast member named StreetScene. The second line deletes the third shader of StreetScene.

    member("StreetScene").deleteShader("Road")
    member("StreetScene").deleteShader(3)

See also

`newShader`, `shaderList`