ドキュメント

Unity Engine

Unity Engine

SetInts

Sets the values for a int array uniform.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

SetInts(string, int[])

Sets the values for a int array uniform.
public void SetInts(string name, params int[] values)

Parameters

name

The name of the property being set.

values

The int array to set.

SetInts(int, int[])

Sets the values for a int array uniform.
public void SetInts(int nameID, params int[] values)

Parameters

nameID

The ID of the property as given by Shader.PropertyToID.

values

The int array to set.