SetTexture
Sets the value of a named texture property.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
SetTexture(int, Texture)
Sets the value of a named texture property.
public void SetTexture(int nameID, Texture t)
Parameters
Remarks
Automatically changes overridden state for this property to true. If the provided texture dimension doesn't correspond to the expected dimension, this function can log an error. If that happens, this assignment is ignored.
SetTexture(string, Texture)
Sets the value of a named texture property.
public void SetTexture(string name, Texture t)
Parameters
Remarks
Automatically changes overridden state for this property to true. If the provided texture dimension doesn't correspond to the expected dimension, this function can log an error. If that happens, this assignment is ignored.