◆ UpdateMaterialPropertyBlockForCamera()

virtual void UpdateMaterialPropertyBlockForCamera ( Camera  cam,
ref MaterialConfig[]  matProperties 
)
protectedvirtual
Parameters
camThe camera that will render with the MaterialProperty properties. Each camera has it's own set of materials and associated MaterialPropertyBlocks
matPropertiesThis reference parameter is instantiated, but not initialized before calling this function. Is contains an array of MaterialPropertyBlocks, one for each material defined by the user.

Referenced by PerCameraMeshAndMaterials.CameraCallback(), PerCameraMeshAndMaterials.ForceMaterialBlockUpdateForAllCamerasNow(), PerCameraMeshAndMaterials.ForceMeshUpdateInAllCamerasNow(), and PerCameraMeshAndMaterials.Update().

+ Here is the caller graph for this function: