Contents

struct

SushiEngine::FramingSubject

A candidate answer to "what is this camera framing": a centre, a size, a range.

Declared in
engine/foundation/core/include/SushiEngine/core/camera_framing.hpp

The three fields travel together because the levelling law needs all three and reading any one of them against another candidate's is meaningless: a surface distance without the radius it was measured against says nothing about how much of the frame the subject fills, which is the only question surface_levelling_weight asks.

Properties

center

The subject's centre, scene metres.

radius

Holds the bounding radius in metres, which says how much of the frame the subject fills.

surface_distance

Holds the range from the camera to the subject's surface, in metres.

known

False when there is no such subject.