Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ShaderUtil.GetPropertyCount

static function GetPropertyCount(s: Shader): int;
static int GetPropertyCount(Shader s);
static def GetPropertyCount(s as Shader) as int

Parameters

sThe shader to check against.

Description

Get the number of properties in Shader s.