ZoomSettings
Class in Zigurous.CameraSystem
Inherits from CameraBehaviorSettings<T>
Declaration
[Serializable]
public sealed class ZoomSettings : CameraBehaviorSettings<Zoom>
Description
Settings for a camera zoom behavior.
Properties
inputAxis | The input axis to change the camera zoom. |
distanceRange | The minimum and maximum distance of the camera from the pivot point. Set the min and max to the same value for a fixed zoom distance. |
initialDistance | The initial distance of the camera from the pivot point. |
smoothing | How quickly the camera zoom changes to the intended distance. Larger numbers make the camera zoom more smoothly. |
transitionDuration | The amount of seconds it takes to transition zoom distance when the camera profile is changed. For example, this is used when transitioning from first-person to third-person, or vice versa. |
increment | Aligns the camera zoom to set increments. |
Inherited
Properties
active | Whether the settings are active on a camera profile. Inactive settings will not display in the editor. |
enabled | Turns on or off the settings behavior. Enabled behaviors are updated every frame. |
isActiveAndEnabled | Whether the settings are active and enabled. |