Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetInts

Sets the values for a int array uniform.
Read time 1 minuteLast updated 4 days ago

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.