Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Actor::TweenState Struct Reference

The present state for the Tween. More...

#include <Actor.h>

Collaboration diagram for Actor::TweenState:
Collaboration graph
[legend]

Public Member Functions

void Init ()
 
auto operator== (const TweenState &other) const -> bool
 
auto operator!= (const TweenState &other) const -> bool
 

Static Public Member Functions

static void MakeWeightedAverage (TweenState &average_out, const TweenState &ts1, const TweenState &ts2, float fPercentBetween)
 

Public Attributes

RageVector3 pos
 
RageVector3 rotation
 
RageVector4 quat
 
RageVector3 scale
 
float fSkewX {}
 
float fSkewY {}
 
RectF crop
 The amount of cropping involved.
 
RectF fade
 The amount of fading involved.
 
RageColor diffuse [NUM_DIFFUSE_COLORS]
 Four values making up the diffuse in this TweenState.
 
RageColor glow
 The glow color for this TweenState.
 
float aux {}
 A magical value that nobody really knows the use for. ;)
 

Detailed Description

The present state for the Tween.

Member Data Documentation

◆ crop

RectF Actor::TweenState::crop

The amount of cropping involved.

If 0, there is no cropping. If 1, it's fully cropped.

◆ diffuse

RageColor Actor::TweenState::diffuse[NUM_DIFFUSE_COLORS]

Four values making up the diffuse in this TweenState.

0 = UpperLeft, 1 = UpperRight, 2 = LowerLeft, 3 = LowerRight

◆ fade

RectF Actor::TweenState::fade

The amount of fading involved.

If 0, there is no fade. If 1, it's fully faded.


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