SetUInt
Sets the value of a named unsigned integer property.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
SetUInt(int, uint)
Sets the value of a named unsigned integer property.
public void SetUInt(int nameID, uint i)
Parameters
The ID of the property. This is the same ID that Shader.PropertyToID returns.
The new unsigned integer value.
Remarks
Automatically changes overridden state for this property to true.
SetUInt(string, uint)
Sets the value of a named unsigned integer property.
public void SetUInt(string name, uint i)
Parameters
Remarks
Automatically changes overridden state for this property to true.