Corgi Engine  v9.2
MoreMountains.CorgiEngine.MMSpriteMaskEvent Struct Reference

An event type used to set a new size for the mask from any class More...

Public Types

enum  MMSpriteMaskEventTypes { MMSpriteMaskEventTypes.MoveToNewPosition, MMSpriteMaskEventTypes.ExpandAndMoveToNewPosition, MMSpriteMaskEventTypes.DoubleMask }
 

Public Member Functions

 MMSpriteMaskEvent (MMSpriteMaskEventTypes eventType, Vector2 newPosition, Vector2 newSize, float duration, MMTween.MMTweenCurve curve)
 

Static Public Member Functions

static void Trigger (MMSpriteMaskEventTypes eventType, Vector2 newPosition, Vector2 newSize, float duration, MMTween.MMTweenCurve curve)
 

Public Attributes

MMSpriteMaskEventTypes EventType
 
Vector2 NewPosition
 
Vector2 NewSize
 
float Duration
 
MMTween.MMTweenCurve Curve
 

Static Public Attributes

static MMSpriteMaskEvent e
 

Detailed Description

An event type used to set a new size for the mask from any class

Member Enumeration Documentation

◆ MMSpriteMaskEventTypes

Enumerator
MoveToNewPosition 
ExpandAndMoveToNewPosition 
DoubleMask 

Constructor & Destructor Documentation

◆ MMSpriteMaskEvent()

MoreMountains.CorgiEngine.MMSpriteMaskEvent.MMSpriteMaskEvent ( MMSpriteMaskEventTypes  eventType,
Vector2  newPosition,
Vector2  newSize,
float  duration,
MMTween.MMTweenCurve  curve 
)

Member Function Documentation

◆ Trigger()

static void MoreMountains.CorgiEngine.MMSpriteMaskEvent.Trigger ( MMSpriteMaskEventTypes  eventType,
Vector2  newPosition,
Vector2  newSize,
float  duration,
MMTween.MMTweenCurve  curve 
)
static

Member Data Documentation

◆ Curve

MMTween.MMTweenCurve MoreMountains.CorgiEngine.MMSpriteMaskEvent.Curve

◆ Duration

float MoreMountains.CorgiEngine.MMSpriteMaskEvent.Duration

◆ e

MMSpriteMaskEvent MoreMountains.CorgiEngine.MMSpriteMaskEvent.e
static

◆ EventType

MMSpriteMaskEventTypes MoreMountains.CorgiEngine.MMSpriteMaskEvent.EventType

◆ NewPosition

Vector2 MoreMountains.CorgiEngine.MMSpriteMaskEvent.NewPosition

◆ NewSize

Vector2 MoreMountains.CorgiEngine.MMSpriteMaskEvent.NewSize

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