Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

GetTexture(name: string): Texture;
Texture GetTexture(string name);
def GetTexture(name as string) as Texture
GetTexture(nameID: int): Texture;
Texture GetTexture(int nameID);
def GetTexture(nameID as int) as Texture

Description

Get a texture from the property block.

Returns null if not found.