Class CameraExtensions
Contains extension methods for Camera class.
Namespace: UnityEngine.Rendering.Universal
Syntax
public static class CameraExtensions : object
Methods
GetUniversalAdditionalCameraData(Camera)
Universal Render Pipeline exposes additional rendering data in a separate component. This method returns the additional data component for the given camera or create one if it doesn't exists yet.
Declaration
public static UniversalAdditionalCameraData GetUniversalAdditionalCameraData(this Camera camera)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera |
Returns
Type | Description |
---|---|
UniversalAdditionalCameraData | The |