1,536
edits
(Add new info) |
No edit summary |
||
Line 4:
{{#vardefine:hash|0x9535DB9D}}<nowiki/>
{{#vardefine:games|TSSM ROTU}}<nowiki/>
{{#vardefine:sourcecode|[https://github.com/seilweiss/incredibles/blob/main/src/Core/x/xScreenFade.cpp xScreenFade.cpp]}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoDynaInfobox}}
'''effect:ScreenFade''' fades the screen out to a specified color, waits, then fades the screen back in.
==Format==
<source lang=cpp>
struct asset_type : xDynAsset
{
xColor_tag dest;
float32 fadeDownTime;
float32 waitTime;
float32 fadeUpTime;
};
</source>
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 ||
|-
| 0x04 || float || '''fadeDownTime''' || How long it takes to fade out.
|-
| 0x08 || float || '''waitTime''' || How long to wait before fading back in.
|-
| 0x0C || float || '''fadeUpTime''' || How long it takes to fade in.
|}
==Events==
===Start Fade===
Starts the screen fade.
===Reset===
Resets the screen fade.
{{DynaAssets}}
|