Rasagar/Library/PackageCache/com.unity.cinemachine/Documentation~/CinemachineVolumeSettings.md
2024-08-26 23:07:20 +03:00

1.9 KiB

Cinemachine Volume Settings Extension

Use the Cinemachine Volume Settings extension to attach an HDRP/URP VolumeSettings profile to a Virtual Camera.

The Cinemachine Volume Settings extension holds a Volume Settings Profile asset to apply to a Virtual Camera when it is activated. If the camera is blending with another Virtual Camera, then the blend weight is applied to the Volume Settings effects also.

To add a Volume Settings profile to a Virtual Camera

  1. Select your Virtual Camera in the Scene view or Hierarchy window.

  2. In the Inspector, choose Add Extension > CinemachineVolumeSettings, then configure the Profile asset to have the effects you want when this virtual camera is live.

Properties:

| Property: || Function: | |:---||:---| | Profile || The Volume Settings profile to activate when this Virtual Camera is live. | | Focus Tracks Target || This is obsolete, please use Focus Tracking. | | Focus Tracking || If the profile has the appropriate overrides, will set the base focus distance to be the distance from the selected target to the camera. The Focus Offset field will then modify that distance. | || None | No focus tracking | || Look At Target | Focus offset is relative to the LookAt target | || Follow Target | Focus offset is relative to the Follow target | || Custom Target | Focus offset is relative to the Custom target | || Camera | Focus offset is relative to the camera | | Focus Target || The target to use if Focus Tracks Target is set to Custom Target | | Focus Offset || Used when Focus Tracking is not None. Offsets the sharpest point away from the location of the focus target. |