#include <ComposableCameraFilmbackNode.h>
Inherits:
UComposableCameraCameraNodeBase
Authors filmback (sensor) and aspect-ratio parameters on the camera pose: sensor width/height, anamorphic squeeze, overscan, and aspect-ratio constraint configuration. Mirrors Epic's UFilmbackCameraNode but integrates with the CCS pose-authoritative policy rather than a dedicated filmback struct.
The sensor dimensions are consumed by FComposableCameraPose::GetEffectiveFieldOfView() when the pose is in focal-length mode (FieldOfView <= 0), so changing the filmback while holding focal length constant naturally changes the effective FOV — exactly as on a real camera.
Public Attributes¶
| Return | Name | Description |
|---|---|---|
float |
SensorWidth |
Sensor width in mm. Super35 default (24.89 mm). Used by FOV resolution when FocalLength drives FOV. |
float |
SensorHeight |
Sensor height in mm. |
float |
SqueezeFactor |
Anamorphic squeeze factor. 1.0 = spherical (no squeeze). 2.0 = classic 2x anamorphic. |
float |
Overscan |
Sensor overscan percentage (0 = none). Used by the post-process / renderer to render a larger area than the final framing. |
bool |
bConstrainAspectRatio |
Whether to constrain the aspect ratio (letterbox / pillarbox) when the viewport ratio differs from the sensor ratio. |
bool |
bOverrideAspectRatioAxisConstraint |
Whether to override the project-wide default aspect-ratio axis constraint. |
TEnumAsByte< EAspectRatioAxisConstraint > |
AspectRatioAxisConstraint |
Axis constraint to use when bOverrideAspectRatioAxisConstraint is true. |
SensorWidth¶
float SensorWidth { 24.89f }
Sensor width in mm. Super35 default (24.89 mm). Used by FOV resolution when FocalLength drives FOV.
SensorHeight¶
float SensorHeight { 18.67f }
Sensor height in mm.
SqueezeFactor¶
float SqueezeFactor { 1.f }
Anamorphic squeeze factor. 1.0 = spherical (no squeeze). 2.0 = classic 2x anamorphic.
Overscan¶
float Overscan { 0.f }
Sensor overscan percentage (0 = none). Used by the post-process / renderer to render a larger area than the final framing.
bConstrainAspectRatio¶
bool bConstrainAspectRatio { false }
Whether to constrain the aspect ratio (letterbox / pillarbox) when the viewport ratio differs from the sensor ratio.
bOverrideAspectRatioAxisConstraint¶
bool bOverrideAspectRatioAxisConstraint { false }
Whether to override the project-wide default aspect-ratio axis constraint.
AspectRatioAxisConstraint¶
TEnumAsByte< EAspectRatioAxisConstraint > AspectRatioAxisConstraint { EAspectRatioAxisConstraint::AspectRatio_MaintainYFOV }
Axis constraint to use when bOverrideAspectRatioAxisConstraint is true.
Public Methods¶
| Return | Name | Description |
|---|---|---|
void |
OnTickNode_Implementation virtual |
|
void |
GetPinDeclarations_Implementation virtual const |
OnTickNode_Implementation¶
virtual
virtual void OnTickNode_Implementation(float DeltaTime, const FComposableCameraPose & CurrentCameraPose, FComposableCameraPose & OutCameraPose)
GetPinDeclarations_Implementation¶
virtual const
virtual void GetPinDeclarations_Implementation(TArray< FComposableCameraNodePinDeclaration > & OutPins) const