기술 자료

Unity Engine

Unity Engine

GetPropertyType(Shader, int)

Get the ShaderProperyType of the shader propery at index propertyIdx of Shader s.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static ShaderUtil.ShaderPropertyType GetPropertyType(Shader s, int propertyIdx)

Parameters

The shader to check against.

propertyIdx

The property index to use.

Returns

Type

Description

ShaderPropertyType