Progetto H — API Reference API & Scripting Documentation
Function Shared Fast

Player:SetManualCameraFade

Turns on camera fading at the given opacity. Does not auto-animate, allowing user to animate themselves. Call StopCameraFade to turn fading back off.

Syntax

Lua
my_player:SetManualCameraFade(in_fade_amount, color, in_fade_audio)

Parameters

Name Type Default Description
in_fade_amount float Range [0..1], where 0 is fully transparent and 1 is fully opaque solid color.
color Color
in_fade_audio boolean