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

<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())