Class HDAdditionalCameraData
Additional component that holds HDRP specific parameters for Cameras.
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
[HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.10/manual/HDRP-Camera.html")]
[AddComponentMenu("")]
[DisallowMultipleComponent]
[ExecuteAlways]
[RequireComponent(typeof(Camera))]
public class HDAdditionalCameraData : MonoBehaviour, IDebugData, IVersionable<HDAdditionalCameraData.Version>
필드
이름 | 설명 |
---|---|
SMAAQuality | Quality of the anti-aliasing when using SMAA. |
TAAQuality | Quality of the anti-aliasing when using TAA. |
allowDynamicResolution | Allows dynamic resolution on buffers linked to this camera. |
antialiasing | Anti-aliasing mode. |
backgroundColorHDR | HDR color used for clearing the camera background. |
clearColorMode | Clear mode for the camera background. |
clearDepth | Clear depth as well as color. |
customRenderingSettings | Allows you to override the default frame settings for this camera. |
defaultFrameSettings | When using default frame settings, specify which type of frame settings to use. |
dithering | Use dithering to filter out minor banding. |
exposureTarget | The object used as a target for centering the Exposure's Procedural Mask metering mode when target object option is set (See Exposure Volume Component). |
flipYMode | Vertical flip mode. |
fullscreenPassthrough | Skips rendering settings to directly render in fullscreen (Useful for video). |
hasPersistentHistory | Enable to retain history buffers even if the camera is disabled. |
invertFaceCulling | Invert face culling. |
nonObliqueProjectionGetter | Specify a custom getter for non oblique projection matrix. |
physicalParameters | Physical camera parameters. |
probeLayerMask | Probe layer mask. |
renderingPathCustomFrameSettingsOverrideMask | Mask specifying which frame settings are overridden when using custom frame settings. |
stopNaNs | Use a pass to eliminate NaNs contained in the color buffer before post-processing. |
taaAntiFlicker | Drive the anti-flicker mechanism. With high values flickering might be reduced, but it can lead to more ghosting or disocclusion artifacts. |
taaAntiHistoryRinging | When enabled, ringing artifacts (dark or strangely saturated edges) caused by history sharpening will be improved. This comes at a potential loss of sharpness upon motion. |
taaHistorySharpening | Strength of the sharpening of the history sampled for TAA. |
taaMotionVectorRejection | Larger is this value, more likely history will be rejected when current and reprojected history motion vector differ by a substantial amount. Larger values can decrease ghosting but will also reintroduce aliasing on the aforementioned cases. |
taaSharpenStrength | Strength of the sharpening component of temporal anti-aliasing. |
volumeAnchorOverride | Optional transform override for the position where volumes are interpolated. |
volumeLayerMask | Layer mask used to select which volumes will influence this camera. |
xrRendering | Enable XR rendering. |
프로퍼티
이름 | 설명 |
---|---|
aovRequests | Use this property to get the aov requests. It is never null. |
hasCustomRender | True if any Custom Render event is registered for this camera. |
isEditorCameraPreview | Unity support two type of preview: Camera preview and material preview. This property allow to know that we are an editor camera preview when the type is preview. |
renderingPathCustomFrameSettings | Custom frame settings. |
메서드
이름 | 설명 |
---|---|
CopyTo(HDAdditionalCameraData) | Copy HDAdditionalCameraData. |
GetGraphicsBuffer(BufferAccessType) | Returns the requested graphics buffer. Users should use the requestGraphicsBuffer event to make sure that the required buffers are requested first. Note that depending on the current frame settings some buffers may not be available. |
GetNonObliqueProjection(Camera) | Returns the non oblique projection matrix for this camera. |
SetAOVRequests(AOVRequestDataCollection) | Set AOV requests to use. |
이벤트
이름 | 설명 |
---|---|
customRender | Event used to override HDRP rendering for this particular camera. |
requestGraphicsBuffer | RequestAccessDelegate used to request access to various buffers of this camera. |