Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPropertyCount(Shader)

Get the number of properties in Shader s.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
Warning
Deprecated. Use Shader.GetPropertyCount instead.
public static int GetPropertyCount(Shader s)

Parameters

The shader to check against.

Returns

Type

Description

int