Пользовательские дополнения

На главную


RelatedTexturesLua: GetTexture( self, sysName )

Возвращает одну из текстур группы по ее идентификатору.

-- класс:
RelatedTexturesLua

-- объявление:
function GetTexture( self, sysName )

-- параметры:
sysName: string - идентификатор текстуры

-- возвращаемые значения:
TextureId or nil - текстура или nil в случае ошибки (текстура не найдена)

-- пример:
local texture = group:GetTexture( "testure01" )

Search: "CategoryLuaApi" "CategoryRelatedResources"

CategoryRelatedResources
FunctionCommonGetAddonRelatedSoundGroup
FunctionCommonGetAddonRelatedTextGroup
FunctionCommonGetAddonRelatedTextureGroup
FunctionCommonGetStateRelatedSoundGroup
FunctionCommonGetStateRelatedTextGroup
FunctionCommonGetStateRelatedTextureGroup
FunctionRelatedSoundsLuaGetList
FunctionRelatedSoundsLuaGetSound
FunctionRelatedSoundsLuaHasSound
FunctionRelatedTextsLuaGetList
FunctionRelatedTextsLuaGetText
FunctionRelatedTextsLuaHasText
FunctionRelatedTexturesLuaGetList
FunctionRelatedTexturesLuaGetTexture
FunctionRelatedTexturesLuaHasTexture
RelatedResources
RelatedSoundsLua
RelatedTextsLua
RelatedTexturesLua


CategoryLuaApi CategoryFunction CategoryRelatedResources

На главную