기술 자료

Unity Engine

Download Unity

Unity Engine

SetFloat

Writes a float property.
읽는 시간 1분최근 업데이트: 12시간 전

Definition

SetFloat(int, float)

Writes a float property.
public void SetFloat(int nameID, float value)

Parameters

nameID

The property ID, from Shader.PropertyToID.

value

The value that the shader reads.

SetFloat(string, float)

Writes a float property.
public void SetFloat(string name, float value)

Parameters

name

The property name.

value

The value that the shader reads.