Union Bytes EngineModulesMaterialSetMaterialTexture

Union Bytes Engine

GeneralHilfeseitensyntaxModules
AnimationBillboardCageCameraControlDefinitionDrawingFontGadgetGeneralJoystickLightMaterial
SetMaterialRoughnessSetMaterialTexture
MathMeshNetworkNodeObjectParticlePhysicShaderSoundsSpriteTexture

SetMaterialTextureFUNCTION

Description

Sets the texture of the specified material.

Syntax

UBE_SetMaterialTexture( iMaterial.i, iIndex.i, iTexture.i )

Parameters

iMaterial A valid number of the Material.
iIndex One of the following constants:
#UBE_TEXTURE_BASE
#UBE_TEXTURE_NORMAL
#UBE_TEXTURE_ERM
iTexture A valid number of the Texture.

Return value

None

See also

Union Bytes | Login