ドキュメント

Unity Engine

Unity Engine

SetMatrix4x4

Use this method to set the value of a Matrix4x4 with the name you pass in.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

SetMatrix4x4(int, Matrix4x4)

Use this method to set the value of a Matrix4x4 with the name you pass in.
public void SetMatrix4x4(int nameID, Matrix4x4 v)

Parameters

nameID

The ID of the property. This is the same ID that Shader.PropertyToID returns.

The new Matrix4x4 value.

SetMatrix4x4(string, Matrix4x4)

Use this method to set the value of a Matrix4x4 with the name you pass in.
public void SetMatrix4x4(string name, Matrix4x4 v)

Parameters

name

The name of the property.

The new Matrix4x4 value.