Camera modifier that implements a fixed point camera.
Verse using statement |
using { /Fortnite.com/SceneGraphCameras } |
Inheritance Hierarchy
This class is derived from camera_modifier.
| Name | Description |
|---|---|
camera_modifier |
Base class for objects that can modify camera state. |
Members
This class has data members, but no functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
CanPitch |
?logic |
Whether the camera is allowed to pitch (rotate vertically) to reframe the target. Turn off for a pan-only camera that only corrects horizontally. |
CanYaw |
?logic |
Whether the camera is allowed to yaw (rotate horizontally) to reframe the target. Turn off for a tilt-only camera that only corrects vertically. |
DeadZoneScreenSpaceBottom |
?float |
Bottom edge margin of the dead zone
The dead zone is the screen-space region where the target can move freely without triggering reframing.
Edges are normalized |
DeadZoneScreenSpaceLeft |
?float |
Left edge margin of the dead zone.
The dead zone is the screen-space region where the target can move freely without triggering reframing.
Edges are normalized |
DeadZoneScreenSpaceRight |
?float |
Right edge margin of the dead zone
The dead zone is the screen-space region where the target can move freely without triggering reframing.
Edges are normalized |
DeadZoneScreenSpaceTop |
?float |
Top edge margin of the dead zone
The dead zone is the screen-space region where the target can move freely without triggering reframing.
Edges are normalized |
IdealFramingLocationScreenSpaceLeft |
?float |
The ideal horizontal screen-space position of the target in screen space. Values are normalized where |
IdealFramingLocationScreenSpaceUp |
?float |
The ideal vertical screen-space position of the target. Values are normalized where |
LowReframeDampingFactor |
??float |
If valid, the recentering damping factor will interpolate between LowReframeDampingFactor and ReframeDampingFactor as the target moves between the ideal target position and the boundaries of the soft-zone. If invalid, no interpolation occurs and the damping factor is always equal to ReframeDampingFactor. |
ReengageTimeSeconds |
?float |
The time spent ramping up the reframing after exiting the dead zone. If set to zero or a negative value, reframing will immediately stop once the target has entered the dead zone. Otherwise the ReframeDampingFactor will interpolate from zero to its desired value over the specified amount of seconds. |
ReframeDampingFactor |
?float |
How aggressively the camera corrects when the target is outside the dead zone. 0 = no damping (instant snap), higher = smoother but laggier (typically 1-10). |
RotationOffset |
?rotation |
Rotation offset applied to the camera's orientation. |
SnapToIdealFramingOnEnable |
?logic |
On first activation of this camera, snap the framing so the target is already at the ideal location instead of easing into it. Set to false for a pop-free entry from a wider blend. |
SoftZoneScreenSpaceBottom |
?float |
Bottom edge margin of the soft zone.
The soft zone is the screen-space region inside which the target is reframed normally.
Outside the soft zone, the camera switches to a stronger damping factor to catch up quickly.
Edges are normalized |
SoftZoneScreenSpaceLeft |
?float |
Left edge margin of the soft zone.
The soft zone is the screen-space region inside which the target is reframed normally.
Outside the soft zone, the camera switches to a stronger damping factor to catch up quickly.
Edges are normalized |
SoftZoneScreenSpaceRight |
?float |
Right edge margin of the soft zone.
The soft zone is the screen-space region inside which the target is reframed normally.
Outside the soft zone, the camera switches to a stronger damping factor to catch up quickly.
Edges are normalized |
SoftZoneScreenSpaceTop |
?float |
Top edge margin of the soft zone.
The soft zone is the screen-space region inside which the target is reframed normally.
Outside the soft zone, the camera switches to a stronger damping factor to catch up quickly.
Edges are normalized |
TargetEntities |
[]entity |
Entities to frame in the camera. |
TargetMovementAnticipationTimeSeconds |
?float |
Predictive lead-time in seconds. The camera anticipates where the target will be N seconds from now based on its current velocity, and frames that anticipated position instead of the current one. |