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.

MaterialEditor.GetMaterialProperty

static function GetMaterialProperty(mats: Object[], name: string): MaterialProperty;
static function GetMaterialProperty(mats: Object[], propertyIndex: int): MaterialProperty;

Parameters

matsSelected materials.
nameProperty name.
propertyIndexProperty index.

Description

Get information about a single shader property.