|
virtual |
dest | this output parameter will contain the MaterialPropertyBlock found after calling this function |
materialIndex | specifies 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().