3D Lingo Dictionary > C-D > deleteTexture

 

deleteTexture

Syntax

member(whichCastmember).deleteTexture(whichTexture)
member(whichCastmember).deleteTexture(index)

Description

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

Example

The first line of this example deletes the texture named Sky from the cast member named PicnicScene. The second line deletes the fifth texture of PicnicScene.

member("PicnicScene).deleteTexture("Sky")
member("PicnicScene").deleteTexture(5)

See also

newTexture