ORK Framework  2.31.0
API Documentation
ORKFramework.Animations.LegacyAnimationBase Class Reference
Inheritance diagram for ORKFramework.Animations.LegacyAnimationBase:
ORKFramework.BaseData ORKFramework.IBaseData ORKFramework.Animations.LegacyAnimation

Public Member Functions

void Init (Combatant combatant, Animation animation)
AnimInfo Play (Animation animation, bool randomTime)
float GetDuration (Animation animation)
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...

Public Attributes

string name = ""
bool setLayer = false
int layer = 0
bool setSpeed = false
FloatValue speedValue
LegacyAnimationPlayMode playType = LegacyAnimationPlayMode.CrossFade
PlayMode playMode = PlayMode.StopSameLayer
float fade = 0.1f
float weight = 1
QueueMode queueMode = QueueMode.CompleteOthers
bool stopAll = false