기술 자료

Unity Engine

Unity Engine

IsShaderPropertyHidden(Shader, int)

Returns true if the shader propery at index propertyIdx is hidden with the [HideInInspector] attribute in the shader code.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
경고
Deprecated. Use Shader.GetPropertyFlags and test against ShaderPropertyFlags.HideInInspector instead.
public static bool IsShaderPropertyHidden(Shader s, int propertyIdx)

Parameters

The shader to check against.

propertyIdx

The property index to use.

Returns

Type

Description

bool