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

Public Member Functions

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

Public Attributes

int typeID = 0
string name = ""
int layer = 0
bool setLayerWeight = false
float layerWeight = 1
MecanimDurationType durationType = MecanimDurationType.Fixed
float duration = 0
bool durationUseState = true
string durationClipName = ""
MecanimPlayMode playMode = MecanimPlayMode.None
float transitionDuration = 0.1f
bool setNormalizedTime = false
float normalizedTime = 0
MecanimParameter [] playParameter = new MecanimParameter[0]
MecanimParameter [] stopParameter = new MecanimParameter[0]

Member Function Documentation

◆ SetData()

override void ORKFramework.Animations.MecanimAnimation.SetData ( DataObject  data)

Sets the variables of the class using a ORKFramework.DataObject.

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.