기술 자료

Unity Engine

Unity Engine

GetShaderUserValue()

Returns the custom value assigned to this renderer.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public uint GetShaderUserValue()

Returns

Type

Description

uintThe integer assigned to the renderer as a custom value.

Remarks

The
GetShaderUserValue
method returns the custom integer assigned to a renderer.
Note: By default, the renderer’s value is 0 unless explicitly assigned.