|
static HumanSwimSlowParams | GetDefaultAnimParams (Character character) |
|
static HumanSwimSlowParams | GetAnimParams (Character character, string fileName=null) |
|
static string | GetDefaultFileName (Identifier speciesName, AnimationType animType) |
|
static string | GetDefaultFile (Identifier speciesName, AnimationType animType) |
|
static string | GetFolder (Identifier speciesName) |
|
static string | GetRandomFilePath (IReadOnlyList< string > filePaths, AnimationType type) |
| Selects a random filepath from multiple paths, matching the specified animation type. More...
|
|
static IEnumerable< string > | FilterFilesByType (IEnumerable< string > filePaths, AnimationType type) |
| Selects all file paths that match the specified animation type. More...
|
|
static T | GetDefaultAnimParams< T > (Character character, AnimationType animType) |
|
static T | GetAnimParams< T > (Identifier speciesName, AnimationType animType, string fileName=null) |
| If the file name is left null, default file is selected. If fails, will select the default file. Note: Use the filename without the extensions, don't use the full path! If a custom folder is used, it's defined in the character info file. More...
|
|
static void | ClearCache () |
|
static AnimationParams | Create (string fullPath, Identifier speciesName, AnimationType animationType, Type type) |
|
static T | Create< T > (string fullPath, Identifier speciesName, AnimationType animationType) |
| Note: Overrides old animations, if found! More...
|
|
static Type | GetParamTypeFromAnimType (AnimationType type, bool isHumanoid) |
|
|
bool | Load (ContentPath file, Identifier speciesName) |
|
override void | UpdatePath (ContentPath newPath) |
|
void | StoreSnapshot< T > () |
|
ContentXElement | CreateElement (string name, params object[] attrs) |
|
virtual string | GetName () |
|
virtual bool | Deserialize (XElement element=null) |
|
virtual bool | Serialize (XElement element=null) |
|
virtual bool | Load (ContentPath file) |
|
static string | ParseFootAngles (Dictionary< int, float > footAngles) |
|
static void | SetFootAngles (Dictionary< int, float > footAngles, string value) |
|
ContentXElement | rootElement |
|
XDocument | doc |
|
static Dictionary< Identifier, Dictionary< string, AnimationParams > > | allAnimations = new Dictionary<Identifier, Dictionary<string, AnimationParams>>() |
|
float | LegMoveAmount [get, set] |
|
float | LegCycleLength [get, set] |
|
Vector2 | HandMoveAmount [get, set] |
|
float | HandCycleSpeed [get, set] |
|
Vector2 | HandMoveOffset [get, set] |
|
float | FootAngle [get, set] |
| In degrees. More...
|
|
float | FootAngleInRadians [get] |
|
float | ArmMoveStrength [get, set] |
|
float | HandMoveStrength [get, set] |
|
bool | FixedHeadAngle [get, set] |
|
float | SteerTorque [get, set] |
|
float | LegTorque [get, set] |
|
Identifier | SpeciesName [get] |
|
bool | IsGroundedAnimation [get] |
|
bool | IsSwimAnimation [get] |
|
float | MovementSpeed [get, set] |
|
float | CycleSpeed [get, set] |
|
float? | HeadAngle [get, set] |
| In degrees. More...
|
|
float | HeadAngleInRadians = float.NaN [get] |
|
float? | TorsoAngle [get, set] |
| In degrees. More...
|
|
float | TorsoAngleInRadians = float.NaN [get] |
|
float | HeadTorque [get, set] |
|
float | TorsoTorque [get, set] |
|
float | FootTorque [get, set] |
|
virtual AnimationType | AnimationType [get, protected set] |
|
float | ArmIKStrength [get, set] |
|
float | HandIKStrength [get, set] |
|
Memento< AnimationParams > | Memento = new Memento<AnimationParams>() [get, protected set] |
|
bool | IsLoaded [get, protected set] |
|
string | Name [get] |
|
string | FileName [get] |
|
string | Folder [get] |
|
ContentPath | Path = ContentPath.Empty [get, protected set] |
|
Dictionary< Identifier, SerializableProperty > | SerializableProperties [get, protected set] |
|
virtual ContentXElement? | MainElement [get] |
|
ContentXElement | OriginalElement [get, protected set] |
|
SerializableEntityEditor | SerializableEntityEditor [get, protected set] |
|
string | Name [get] |
|
Dictionary< Identifier, SerializableProperty > | SerializableProperties [get] |
|
Memento< T > | Memento [get] |
|
float | FootAngle [get, set] |
|
float | FootAngleInRadians [get] |
|
float | ArmMoveStrength [get, set] |
|
float | HandMoveStrength [get, set] |
|
bool | FixedHeadAngle [get, set] |
|
Definition at line 59 of file HumanoidAnimations.cs.