Unity GAF Player
1.0
Tools for playing GAF animation inside Unity
|
Protected Member Functions | |
override void | ApplyMask () |
Start this instance. More... | |
![]() | |
virtual void | ApplyTransformations () |
Applies the transformations. More... | |
virtual void | ApplyObjectAlpha () |
Applies the object alpha. More... | |
virtual void | ApllyObjectBlur () |
Apllies the object blur. More... | |
virtual void | ApplyColorTranformation () |
Applies the color tranformation. More... | |
virtual void | ApplyTransformations (GAFState state, GameObject go) |
Applies the transformations. More... | |
virtual void | ApplyObjectAlpha (GAFState state, GameObject go) |
Applies the object alpha. More... | |
Additional Inherited Members | |
![]() | |
virtual void | Start () |
virtual void | Update () |
virtual void | GAFSetNextAnimation () |
Sets the next animation. More... | |
virtual void | GAFSetPreviousAnimation () |
Sets the previous animation. More... | |
virtual void | GAFSetAnimationByName (string name) |
Sets current animation by name. More... | |
virtual void | GAFSetAnimationByIndex (int index) |
Sets current animation by index. More... | |
virtual void | GAFResetElements () |
Reset elements. More... | |
virtual void | GAFRewind () |
Rewind current animation sequrnce to start. More... | |
virtual void | GAFSetAnimationToFrame (int fromFrame, int toFrame) |
Sets the animation to frame. More... | |
virtual void | GAFPlay () |
Play animation. More... | |
virtual void | GAFStop () |
Stop animation. More... | |
![]() | |
List< PolygonVerts > | mOriginalVerts |
List< string > | mOriginalVertsGo |
![]() | |
int | mCurrentSequenceIndex |
bool | mPlayAutomatically = true |
bool | mIsPlaying = false |
bool | mWasInit = false |
eGAFWrapMode | mWrapMode = eGAFWrapMode.Loop |
Dictionary< string, GameObject > | mAnimatedObjects |
GameObject | mCurrentGameObject |
int | mCurrentFrame = -1 |
float | mPreviousTime |
GAFState | mCurrentState |
Dictionary< GameObject, List < GameObject > > | mBlurGos |
Dictionary< GameObject, List < Material > > | mBlurMats |
![]() | |
GAFAnimation | GAFAnimation [get, set] |
Gets or sets the GAF animation data. More... | |
int | GAFCurrentSequenceIndex [get, set] |
Gets or sets the index of the current sequence. More... | |
bool | GAFIsPlaying [get] |
Gets a value indicating whether this instance is playing. More... | |
bool | GAFPlayAutomatically [get, set] |
Gets or sets a value indicating whether animation is going to play on start. More... | |
int | GAFCurrentFrame [get, set] |
Gets or sets the current frame. More... | |
eGAFWrapMode | GAFWrapMode [get, set] |
Gets or sets the GAF wrap mode. More... | |
|
protectedvirtual |
Start this instance.
Applies the object alpha.
Applies the color tranformation.
Apllies the object blur.
Applies the object alpha.
state | State. |
go | Go. |
Sets the animation to frame.
fromFrame | From frame. |
toFrame | To frame. |
Applies the mask.
Reimplemented from GAFAnimationPlayerBase.