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

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