Vizard 8 » Command Index » Vizard objects » texture » <texture>.getFilename
8.1

<texture>.getFilename

Returns the filename

<texture>.getFilename()  

Remarks

This command will return the filename of the texture.

Return Value

Filename

Example

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

#This will print 'image.jpg'
print(tex.getFilename())