Struct ScreenComposerSettings.HardLimitSettings
The target will not be allowed to be outside this region. When the target is within this region, the camera will gradually adjust to re-align towards the desired position, depending on the damping speed
Inherited Members
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
[Serializable]
public struct ScreenComposerSettings.HardLimitSettings
Fields
Enabled
Enables the Hard Limit settings
Declaration
public bool Enabled
Field Value
Type | Description |
---|---|
bool |
Offset
A zero Offset means that the hard limits will be centered around the target screen position.
A nonzero Offset will uncenter the hard limits relative to the target screen position.
Declaration
[Tooltip("A zero Offset means that the hard limits will be centered around the target screen position. A nonzero Offset will uncenter the hard limits relative to the target screen position.")]
public Vector2 Offset
Field Value
Type | Description |
---|---|
Vector2 |
Size
The target will not be allowed to be outside this region.
When the target is within this region, the camera will gradually adjust to re-align
towards the desired position, depending on the damping speed.
Full screen size is 1
Declaration
[Tooltip("The target will not be allowed to be outside this region. When the target is within this region, the camera will gradually adjust to re-align towards the desired position, depending on the damping speed. Full screen size is 1")]
public Vector2 Size
Field Value
Type | Description |
---|---|
Vector2 |