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.

Renderer.GetPropertyBlock

Switch to Manual
GetPropertyBlock(dest: MaterialPropertyBlock): void;
void GetPropertyBlock(MaterialPropertyBlock dest);
def GetPropertyBlock(dest as MaterialPropertyBlock) as void

Description

Get per-renderer material property block.