Class CameraExtensions
Contains extension methods for Camera class.
Inherited Members
Namespace: UnityEngine .Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public static class CameraExtensions
Methods
Name | Description |
---|---|
Destroy |
Destroys the volume stack for this camera. |
Destroy |
Destroys the volume stack for this camera. |
Get |
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 exist yet. |
Get |
Returns the VolumeFrameworkUpdateMode set on the camera. |
Set |
Sets the VolumeFrameworkUpdateMode for the camera. |
Update |
Updates the volume stack for this camera. This function will only update the stack when the camera has VolumeFrameworkUpdateMode set to ViaScripting or when it set to UsePipelineSettings and the update mode on the Render Pipeline Asset is set to ViaScripting. |
Update |
Updates the volume stack for this camera. This function will only update the stack when the camera has ViaScripting selected or if the camera is set to UsePipelineSettings and the Render Pipeline Asset is set to ViaScripting. |