Namespace Serenity.GameCamera.Domain.ValueObjects
Structs
CameraCandidate
Engine-agnostic description of a registered camera as seen by the active-camera selection policy. Camera is an opaque handle (the concrete engine camera type lives in Infrastructure); the Domain layer only needs Depth and DrawsToScreen to decide which camera should be active.
ViewportRect
Immutable, normalized viewport rectangle (all components in the 0..1 range), matching
the engine convention where a camera's rect is expressed as a fraction of the screen
(e.g. Unity's Camera.rect). The constructor clamps every component into 0..1 so
that a rect built from untrusted or computed values can never describe an
out-of-bounds viewport.