Scripting API

ScreenComposerSettings

struct in Unity.Cinemachine · Unity.Cinemachine

11 of 11 of Unity's members
In Tassix

Where on screen a composer keeps its target: a position, a dead zone, hard limits.

Fields 3

DeadZoneSettings DeadZone
HardLimitSettings HardLimits
Vector2 ScreenPosition

The target's screen position: 0 the center, ±0.5 the edges (+y down).

Properties 5

Rect DeadZoneRect { get; set; }

The dead zone, in screen units around the center.

static ScreenComposerSettings Default { get; }
Vector2 EffectiveDeadZoneSize { get; }
Vector2 EffectiveHardLimitSize { get; }
Rect HardLimitsRect { get; set; }

The hard limits, in screen units around the center.

Methods 3

static bool Approximately(in ScreenComposerSettings a, in ScreenComposerSettings b)
void Validate()