Vizard 7 » Command Index » Vizard objects » texture » <texture>.remove
7.6

<texture>.remove

Permanently removes the texture

<texture>.remove()  

Remarks

This command permanently removes the texture. If you apply a texture to an object then remove the texture, the texture will still appear on the object. However, you will not be able to use the texture anymore.

Return Value

None

Example

tex = viz.addTexture('image.jpg')

object.texture(tex)

#Remove the texture (It will still appear on the object above)
tex.remove()