Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetRow

Sets a row of the matrix.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

SetRow(int, Vector4)

Sets a row of the matrix.
public void SetRow(int index, Vector4 row)

Parameters

index


Remarks

The i-th row is set from Vector4.
i
must be from 0 to 3 inclusive.
Additional Resources: Matrix4x4.GetRow.

SetRow(int, Vector4)

Sets a row of the matrix.
public void SetRow(int index, in Vector4 row)

Parameters

index


Remarks

The i-th row is set from Vector4.
i
must be from 0 to 3 inclusive.
Additional Resources: Matrix4x4.GetRow.