Get

Get(Renderer, int)

public static RendererPropertyBlock Get(Renderer renderer, int materialIndex) ;

Description

Get the RendererPropertyBlock assigned to the Renderer.

Parameters

Parameter Name Description
renderer Renderer
materialIndex Material index

Returns

RendererPropertyBlock

Get(Renderer)

public static RendererPropertyBlock Get(Renderer renderer) ;

Description

Get the RendererPropertyBlock assigned to the Renderer.

Parameters

Parameter Name Description
renderer Renderer

Returns

RendererPropertyBlock