Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

MaterialPropertyBlock.GetMatrix

public function GetMatrix(name: string): Matrix4x4;
public function GetMatrix(nameID: int): Matrix4x4;

Description

Get a matrix from the property block.

Returns identity matrix if not found.