Class MotionBlur
A volume component that holds settings for the Motion Blur effect.
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
[Serializable]
[VolumeComponentMenu("Post-processing/Motion Blur")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.10/manual/Post-Processing-Motion-Blur.html")]
public sealed class MotionBlur : VolumeComponentWithQuality, IPostProcessComponent
필드
이름 | 설명 |
---|---|
cameraMotionBlur | If toggled on camera rotation can be clamped differently. |
cameraRotationVelocityClamp | Sets the maximum length, as a fraction of the screen's full resolution, that the motion vectors resulting from Camera rotation can have. Only valid if specialCameraClampMode is set to CameraClampMode.Rotation or CameraClampMode.SeparateTranslationAndRotation. |
cameraTranslationVelocityClamp | Sets the maximum length, as a fraction of the screen's full resolution, that the motion vectors resulting from Camera can have. Only valid if specialCameraClampMode is set to CameraClampMode.Translation or CameraClampMode.SeparateTranslationAndRotation. |
cameraVelocityClamp | Sets the maximum length, as a fraction of the screen's full resolution, that the motion vectors resulting from Camera movement can have. Only valid if specialCameraClampMode is set to CameraClampMode.FullCameraMotionVector. |
depthComparisonExtent | Value used for the depth based weighting of samples. Tweak if unwanted leak of background onto foreground or viceversa is detected. |
intensity | Sets the intensity of the motion blur effect. Acts as a multiplier for velocities. |
maximumVelocity | Controls the maximum velocity, in pixels, that HDRP allows for all sources of motion blur except Camera rotation. |
minimumVelocity | Controls the minimum velocity, in pixels, that a GameObject must have to contribute to the motion blur effect. |
specialCameraClampMode | Determine how the component of the motion vectors coming from the camera is clamped. It is important to remember that clamping the camera component separately, velocities relative to camera might change too (e.g. an object parented to a camera when the camera moves might not have a 0 motion vector anymore). |
프로퍼티
이름 | 설명 |
---|---|
sampleCount | Sets the maximum number of sample points that HDRP uses to compute motion blur. |
메서드
이름 | 설명 |
---|---|
IsActive() | Tells if the effect needs to be rendered or not. |