Returns the path to the texture's image file

Signature:

texture = Texture:GetTexture()

Returns:

  • texture - Path to the texture image file, or one of the following values: (string)
    • Portrait1 - Texture is set to a generated image (e.g. via SetPortraitTexture())
    • SolidTexture - Texture is set to a solid color instead of an image