Resume Behind Camera 289

Signature

void resumebehindcamera_289(float time, int unused, int easingType, int identifier); //id:0x0289

Description

Performs a transition from an event camera to the battle camera over time.

Arguments

Time

The amount of seconds it takes until the camera transition is complete.

The value is doubled after being passed.

Unused

This argument is unused.

Easing Type

Controls the amount of easing on the camera transition.

IdentifierDescriptionCalculation

0

Fast start and middle, normal end.

f(x)=(sin((xπ)π/2)+1)/2f(x) = (sin((x * π) - π / 2) + 1) / 2

1

Slow start, normal middle and end.

f(x)=sin((xπ)/2π/2)+1f(x) = sin((x * π) / 2 - π / 2) + 1

2

Fast start, normal middle, slow end.

f(x)=sin(x(π/2))f(x) = sin(x * (π / 2))

3

No easing.

f(x)=xf(x) = x

Identifier

The identifier of the camera that will be transitioned from.

This identifier refers to the camera entry in the section 8 file of the ebp file.

A value of 0 will equal the last used cutscene camera instead of camera 0. Any other value will equal the camera identifier (e.g. 1 -> camera 1).

Notes

Before a transition can be performed, the event camera must have at least been enabled once before via functions like Camera Start 7D .

If a time value higher than 0 is used, the Resume Behind Camera Sync function should be called soon after this one to stop the execution of the following functions until the camera transition is completed.

Last updated