文档

Unity Engine

Unity Engine

SetRow

Sets a row of the matrix.
阅读时间1 分钟最后更新于 1 个月前

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.