Tanoda
Leap.Unity.Animation.Internal.TweenInstance Class Reference
Inheritance diagram for Leap.Unity.Animation.Internal.TweenInstance:
Leap.Unity.IPoolable

Classes

struct  TweenYieldInstruction
 

Public Member Functions

 TweenInstance ()
 
void OnSpawn ()
 
void OnRecycle ()
 
void ResetDefaults ()
 
void Dispose ()
 
void Step (TweenRunner runner)
 
void interpolatePercent ()
 
void OnSpawn ()
 
void OnRecycle ()
 

Public Attributes

int instanceId = ID_INVALID_STATE
 
int runnerIndex = NOT_RUNNING
 
bool returnToPoolUponStop
 
IInterpolator[] interpolators = new IInterpolator[1]
 
int interpolatorCount
 
float curPercent
 
float dstPercent
 
float velPercent
 
Direction direction
 
SmoothType smoothType
 
Func< float, float > smoothFunction
 
Action< float > OnProgress
 
Action OnLeaveEnd
 
Action OnReachEnd
 
Action OnLeaveStart
 
Action OnReachStart
 
TweenYieldInstruction yieldInstruction
 

Static Public Attributes

const int ID_UNUSED = 0
 
const int ID_IN_POOL = -1
 
const int ID_WAITING_FOR_RECYCLE = -2
 
const int ID_INVALID_STATE = -3
 
const int NOT_RUNNING = -1
 

Detailed Description

Definition at line 15 of file TweenInstance.cs.

Constructor & Destructor Documentation

◆ TweenInstance()

Leap.Unity.Animation.Internal.TweenInstance.TweenInstance ( )

Definition at line 48 of file TweenInstance.cs.

Member Function Documentation

◆ Dispose()

void Leap.Unity.Animation.Internal.TweenInstance.Dispose ( )

Definition at line 77 of file TweenInstance.cs.

◆ interpolatePercent()

void Leap.Unity.Animation.Internal.TweenInstance.interpolatePercent ( )

Definition at line 101 of file TweenInstance.cs.

◆ OnRecycle()

void Leap.Unity.Animation.Internal.TweenInstance.OnRecycle ( )

Implements Leap.Unity.IPoolable.

Definition at line 57 of file TweenInstance.cs.

◆ OnSpawn()

void Leap.Unity.Animation.Internal.TweenInstance.OnSpawn ( )

Implements Leap.Unity.IPoolable.

Definition at line 52 of file TweenInstance.cs.

◆ ResetDefaults()

void Leap.Unity.Animation.Internal.TweenInstance.ResetDefaults ( )

Definition at line 59 of file TweenInstance.cs.

◆ Step()

void Leap.Unity.Animation.Internal.TweenInstance.Step ( TweenRunner  runner)

Definition at line 91 of file TweenInstance.cs.

Member Data Documentation

◆ curPercent

float Leap.Unity.Animation.Internal.TweenInstance.curPercent

Definition at line 32 of file TweenInstance.cs.

◆ direction

Direction Leap.Unity.Animation.Internal.TweenInstance.direction

Definition at line 35 of file TweenInstance.cs.

◆ dstPercent

float Leap.Unity.Animation.Internal.TweenInstance.dstPercent

Definition at line 33 of file TweenInstance.cs.

◆ ID_IN_POOL

const int Leap.Unity.Animation.Internal.TweenInstance.ID_IN_POOL = -1
static

Definition at line 19 of file TweenInstance.cs.

◆ ID_INVALID_STATE

const int Leap.Unity.Animation.Internal.TweenInstance.ID_INVALID_STATE = -3
static

Definition at line 21 of file TweenInstance.cs.

◆ ID_UNUSED

const int Leap.Unity.Animation.Internal.TweenInstance.ID_UNUSED = 0
static

Definition at line 18 of file TweenInstance.cs.

◆ ID_WAITING_FOR_RECYCLE

const int Leap.Unity.Animation.Internal.TweenInstance.ID_WAITING_FOR_RECYCLE = -2
static

Definition at line 20 of file TweenInstance.cs.

◆ instanceId

int Leap.Unity.Animation.Internal.TweenInstance.instanceId = ID_INVALID_STATE

Definition at line 22 of file TweenInstance.cs.

◆ interpolatorCount

int Leap.Unity.Animation.Internal.TweenInstance.interpolatorCount

Definition at line 30 of file TweenInstance.cs.

◆ interpolators

IInterpolator [] Leap.Unity.Animation.Internal.TweenInstance.interpolators = new IInterpolator[1]

Definition at line 29 of file TweenInstance.cs.

◆ NOT_RUNNING

const int Leap.Unity.Animation.Internal.TweenInstance.NOT_RUNNING = -1
static

Definition at line 24 of file TweenInstance.cs.

◆ OnLeaveEnd

Action Leap.Unity.Animation.Internal.TweenInstance.OnLeaveEnd

Definition at line 41 of file TweenInstance.cs.

◆ OnLeaveStart

Action Leap.Unity.Animation.Internal.TweenInstance.OnLeaveStart

Definition at line 43 of file TweenInstance.cs.

◆ OnProgress

Action<float> Leap.Unity.Animation.Internal.TweenInstance.OnProgress

Definition at line 40 of file TweenInstance.cs.

◆ OnReachEnd

Action Leap.Unity.Animation.Internal.TweenInstance.OnReachEnd

Definition at line 42 of file TweenInstance.cs.

◆ OnReachStart

Action Leap.Unity.Animation.Internal.TweenInstance.OnReachStart

Definition at line 44 of file TweenInstance.cs.

◆ returnToPoolUponStop

bool Leap.Unity.Animation.Internal.TweenInstance.returnToPoolUponStop

Definition at line 27 of file TweenInstance.cs.

◆ runnerIndex

int Leap.Unity.Animation.Internal.TweenInstance.runnerIndex = NOT_RUNNING

Definition at line 25 of file TweenInstance.cs.

◆ smoothFunction

Func<float, float> Leap.Unity.Animation.Internal.TweenInstance.smoothFunction

Definition at line 38 of file TweenInstance.cs.

◆ smoothType

SmoothType Leap.Unity.Animation.Internal.TweenInstance.smoothType

Definition at line 37 of file TweenInstance.cs.

◆ velPercent

float Leap.Unity.Animation.Internal.TweenInstance.velPercent

Definition at line 34 of file TweenInstance.cs.

◆ yieldInstruction

TweenYieldInstruction Leap.Unity.Animation.Internal.TweenInstance.yieldInstruction

Definition at line 46 of file TweenInstance.cs.


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