기술 자료

Unity Engine

Unity Engine

HasProceduralInstancing(Shader)

Determines whether the specified Shader contains a valid Procedural Instancing variant.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool HasProceduralInstancing(Shader s)

Parameters

The Shader to check.

Returns

Type

Description

boolReturns true if the Shader has a valid Procedural Instancing variant. Returns false otherwise.