◆ GetPropertyBlock() [2/2]

override void GetPropertyBlock ( out MaterialPropertyBlock  dest,
int  materialIndex 
)
virtual
Parameters
destthis output parameter will contain the MaterialPropertyBlock found after calling this function
materialIndexspecifies which of the assigned materials we should get the MaterialPropertyBlock of.

Implements CustomRenderer.

References PerCameraMeshAndMaterials.accessorReferenceCameraOrCurrentOrMain, MaterialConfig.materialProperties, MeshAndMaterialConfigSet.materialsBlock, PerCameraMeshAndMaterials.RegisterCamera(), PerCameraMeshAndMaterials.sharedMaterials, and PerCameraMeshAndMaterials.TryGetMeshAndMaterialBlockForCamera().

+ Here is the call graph for this function: