Class: Material
Lua
C++
Edit

Material:SetTexture

This method assigns a texture to a material.

Syntax

Parameter Description
texture texture to set
index can be TEXTURE_BASE, TEXTURE_NORMAL, TEXTURE_METALLICROUGHNESS, TEXTURE_EMISSION, TEXTURE_DISPLACEMENT, or any number from 0 to 15
Copyright © 2024 Ultra Software.
All rights reserved.