SetMatrix4x4
Sets the value of a named Matrix4x4 property.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
SetMatrix4x4(int, Matrix4x4)
Sets the value of a named Matrix4x4 property.
public void SetMatrix4x4(int nameID, Matrix4x4 v)
Parameters
The ID of the property. This is the same ID that Shader.PropertyToID returns.
The new Matrix4x4 value.
Remarks
Automatically changes overridden state for this property to true.
SetMatrix4x4(string, Matrix4x4)
Sets the value of a named Matrix4x4 property.
public void SetMatrix4x4(string name, Matrix4x4 v)
Parameters
Remarks
Automatically changes overridden state for this property to true.