Feel  5.1
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMFadeOutEvent Struct Reference

Public Member Functions

 MMFadeOutEvent (float duration, MMTweenType tween, int id=0, bool ignoreTimeScale=true, Vector3 worldPosition=new Vector3())
 Initializes a new instance of the MoreMountains.MMInterface.MMFadeOutEvent struct. More...
 

Static Public Member Functions

static void Trigger (float duration, MMTweenType tween, int id=0, bool ignoreTimeScale=true, Vector3 worldPosition=new Vector3())
 

Public Attributes

int ID
 an ID that has to match the one on the fader More...
 
float Duration
 the duration of the fade, in seconds More...
 
MMTweenType Curve
 the curve to apply to the fade More...
 
bool IgnoreTimeScale
 whether or not this fade should ignore timescale More...
 
Vector3 WorldPosition
 a world position for a target object. Useless for regular fades, but can be useful for alt implementations (circle fade for example) More...
 

Static Public Attributes

static MMFadeOutEvent e
 

Constructor & Destructor Documentation

◆ MMFadeOutEvent()

MoreMountains.Tools.MMFadeOutEvent.MMFadeOutEvent ( float  duration,
MMTweenType  tween,
int  id = 0,
bool  ignoreTimeScale = true,
Vector3  worldPosition = new Vector3() 
)

Initializes a new instance of the MoreMountains.MMInterface.MMFadeOutEvent struct.

Parameters
durationDuration.

Member Function Documentation

◆ Trigger()

static void MoreMountains.Tools.MMFadeOutEvent.Trigger ( float  duration,
MMTweenType  tween,
int  id = 0,
bool  ignoreTimeScale = true,
Vector3  worldPosition = new Vector3() 
)
static

Member Data Documentation

◆ Curve

MMTweenType MoreMountains.Tools.MMFadeOutEvent.Curve

the curve to apply to the fade

◆ Duration

float MoreMountains.Tools.MMFadeOutEvent.Duration

the duration of the fade, in seconds

◆ e

MMFadeOutEvent MoreMountains.Tools.MMFadeOutEvent.e
static

◆ ID

int MoreMountains.Tools.MMFadeOutEvent.ID

an ID that has to match the one on the fader

◆ IgnoreTimeScale

bool MoreMountains.Tools.MMFadeOutEvent.IgnoreTimeScale

whether or not this fade should ignore timescale

◆ WorldPosition

Vector3 MoreMountains.Tools.MMFadeOutEvent.WorldPosition

a world position for a target object. Useless for regular fades, but can be useful for alt implementations (circle fade for example)


The documentation for this struct was generated from the following file: