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

Public Member Functions

 AnimationSetting (string name)
void LegacyInit (Combatant combatant, Animation animation)
bool LegacyPlay (out AnimInfo info, Animation animation, int typeID, Combatant user, bool randomFirstTime)
bool LegacyStop (Animation animation, int typeID, Combatant user)
bool LegacyGetDuration (ref float duration, Animation animation, int typeID, Combatant user)
void MecanimInit (Combatant combatant, Animator animator, ref string horizontalParameter, ref string verticalParameter, ref MecanimAutoRotationParameter xParameter, ref MecanimAutoRotationParameter yParameter, ref MecanimAutoRotationParameter zParameter)
bool MecanimPlay (out AnimInfo info, Animator animator, int typeID, bool randomFirstTime)
bool MecanimStop (Animator animator, int typeID)
void CheckMecanimStates (Animator animator)
bool MecanimGetDuration (ref float duration, Animator animator, int typeID)
void CustomInit (Component behaviour)
bool CustomPlay (out AnimInfo info, Component behaviour, int typeID)
bool CustomStop (Component behaviour, int typeID)
- 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 randomFirstStartTime = false
LegacyAnimation [] legacy = new LegacyAnimation[0]
bool mSetSpeed = false
FloatValue mSpeedValue
bool mSetAutoHorizontal = false
string mAutoHoriziontal = ""
bool mSetAutoVertical = false
string mAutoVertical = ""
bool mSetXRotation = false
MecanimAutoRotationParameter mXRotation
bool mSetYRotation = false
MecanimAutoRotationParameter mYRotation
bool mSetZRotation = false
MecanimAutoRotationParameter mZRotation
MecanimAnimation [] mecanim = new MecanimAnimation[0]
MecanimStateCheck [] mecanimStateCheck = new MecanimStateCheck[0]
CustomAnimation [] custom = new CustomAnimation[0]

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.BaseIndexData
int realID = 0
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]