Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

MaterialPropertyBlock.GetMatrix

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

Parameters

Description

Get a matrix from the property block.

Returns identity matrix if not found.