TilePlus Version 5
Unity3D Tilemap Extension
Loading...
Searching...
No Matches
TilePlus.TpTweenSpec.Tween Class Reference

Individual tween spec. More...

Collaboration diagram for TilePlus.TpTweenSpec.Tween:

Public Member Functions

 Tween ()
 Ctor.
 Tween (Tween other)
 Constructor that makes a copy.

Public Attributes

string m_TweenName
 The name of this tween spec.
EaseTarget m_EaseTarget = EaseTarget.Position
 The type of operation.
Vector3 m_EndScale = new(2, 2, 1)
 The end size for the sprite when tweening scale.
Color m_EndColor = Color.white
 Ending color.
Vector3 m_EndRotation = Vector3.zero
 Ending rotation.
Vector3 m_EndPosition = Vector3.zero
 Ending position.
float m_Duration = 1f
 Duration of the tween or sequence.
TpEasingFunction.Ease m_EaseFunction = TpEasingFunction.Ease.Linear
 Easing type.
LoopType m_LoopType = LoopType.None
 Loop type.
int m_LoopCount = -1
 Loop count. -1 is infinite.
MatrixHints m_MatrixHints
 Hints to the system when using "matrix" EaseTargets.
TpEasingFunction.Ease m_EaseRotation = TpEasingFunction.Ease.Linear
 Easing type for rotation (Matrix tweens only)
TpEasingFunction.Ease m_EaseScale = TpEasingFunction.Ease.Linear
 Easing type for scale (Matrix tweens only)
bool m_Initialized
 internal use only. It's not a mistake: used by property drawer. DONT DELETE

Detailed Description

Individual tween spec.

Constructor & Destructor Documentation

◆ Tween() [1/2]

TilePlus.TpTweenSpec.Tween.Tween ( )

Ctor.

◆ Tween() [2/2]

TilePlus.TpTweenSpec.Tween.Tween ( Tween other)

Constructor that makes a copy.

Parameters
otherinstance to copy
Returns
new spec

m_Initialized is false.

Member Data Documentation

◆ m_Duration

float TilePlus.TpTweenSpec.Tween.m_Duration = 1f

Duration of the tween or sequence.

This can be zero, which should be assumed is an error

◆ m_EaseFunction

TpEasingFunction.Ease TilePlus.TpTweenSpec.Tween.m_EaseFunction = TpEasingFunction.Ease.Linear

Easing type.

◆ m_EaseRotation

TpEasingFunction.Ease TilePlus.TpTweenSpec.Tween.m_EaseRotation = TpEasingFunction.Ease.Linear

Easing type for rotation (Matrix tweens only)

◆ m_EaseScale

TpEasingFunction.Ease TilePlus.TpTweenSpec.Tween.m_EaseScale = TpEasingFunction.Ease.Linear

Easing type for scale (Matrix tweens only)

◆ m_EaseTarget

EaseTarget TilePlus.TpTweenSpec.Tween.m_EaseTarget = EaseTarget.Position

The type of operation.

◆ m_EndColor

Color TilePlus.TpTweenSpec.Tween.m_EndColor = Color.white

Ending color.

◆ m_EndPosition

Vector3 TilePlus.TpTweenSpec.Tween.m_EndPosition = Vector3.zero

Ending position.

◆ m_EndRotation

Vector3 TilePlus.TpTweenSpec.Tween.m_EndRotation = Vector3.zero

Ending rotation.

◆ m_EndScale

Vector3 TilePlus.TpTweenSpec.Tween.m_EndScale = new(2, 2, 1)

The end size for the sprite when tweening scale.

◆ m_Initialized

bool TilePlus.TpTweenSpec.Tween.m_Initialized

internal use only. It's not a mistake: used by property drawer. DONT DELETE

◆ m_LoopCount

int TilePlus.TpTweenSpec.Tween.m_LoopCount = -1

Loop count. -1 is infinite.

◆ m_LoopType

LoopType TilePlus.TpTweenSpec.Tween.m_LoopType = LoopType.None

Loop type.

◆ m_MatrixHints

MatrixHints TilePlus.TpTweenSpec.Tween.m_MatrixHints

Hints to the system when using "matrix" EaseTargets.

◆ m_TweenName

string TilePlus.TpTweenSpec.Tween.m_TweenName

The name of this tween spec.


The documentation for this class was generated from the following file:
  • /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/AssetScripts/Lists/TpTweenSpec.cs