|
| static string | GetDefaultFileName (Identifier speciesName, AnimationType animType) |
| |
| static string | GetDefaultFile (Identifier speciesName, AnimationType animType) |
| |
| static string | GetFolder (Identifier speciesName) |
| |
| static IEnumerable< string > | FilterAndSortFiles (IEnumerable< string > filePaths, AnimationType type) |
| | Selects all file paths that match the specified animation type and filters them alphabetically.
|
| |
| static void | ClearCache () |
| |
| static AnimationParams | Create (string fullPath, Identifier speciesName, AnimationType animationType, Type animationParamsType) |
| |
| static T | Create< T > (string fullPath, Identifier speciesName, AnimationType animationType) |
| | Note: Overrides old animations, if found!
|
| |
| static Type | GetParamTypeFromAnimType (AnimationType type, bool isHumanoid) |
| |
|
| Identifier | SpeciesName [get] |
| |
| bool | IsGroundedAnimation [get] |
| |
| bool | IsSwimAnimation [get] |
| |
| virtual AnimationType | AnimationType [get, protected set] |
| |
| float | MovementSpeed [get, set] |
| |
| float | CycleSpeed [get, set] |
| |
| float | HeadAngle [get, set] |
| | In degrees.
|
| |
| float | HeadAngleInRadians = float.NaN [get] |
| |
| float | TorsoAngle [get, set] |
| | In degrees.
|
| |
| float | TorsoAngleInRadians = float.NaN [get] |
| |
| float | HeadTorque [get, set] |
| |
| float | TorsoTorque [get, set] |
| |
| float | FootTorque [get, 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 | FileNameWithoutExtension [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] |
| |
| Memento< T > | Memento [get] |
| |
◆ ClearCache()
| static void Barotrauma.AnimationParams.ClearCache |
( |
| ) |
|
|
static |
◆ ClearHistory()
| void Barotrauma.AnimationParams.ClearHistory |
( |
| ) |
|
◆ Create()
| static AnimationParams Barotrauma.AnimationParams.Create |
( |
string | fullPath, |
|
|
Identifier | speciesName, |
|
|
AnimationType | animationType, |
|
|
Type | animationParamsType ) |
|
static |
◆ Create< T >()
Note: Overrides old animations, if found!
- Type Constraints
-
| T | : | AnimationParams | |
| T | : | new() | |
◆ Deserialize()
| bool Barotrauma.AnimationParams.Deserialize |
( |
| ) |
|
◆ FilterAndSortFiles()
| static IEnumerable< string > Barotrauma.AnimationParams.FilterAndSortFiles |
( |
IEnumerable< string > | filePaths, |
|
|
AnimationType | type ) |
|
static |
Selects all file paths that match the specified animation type and filters them alphabetically.
◆ GetAnimParams< T >()
- Type Constraints
-
| T | : | AnimationParams | |
| T | : | new() | |
◆ GetDefaultAnimParams< T >()
- Type Constraints
-
| T | : | AnimationParams | |
| T | : | new() | |
◆ GetDefaultFile()
| static string Barotrauma.AnimationParams.GetDefaultFile |
( |
Identifier | speciesName, |
|
|
AnimationType | animType ) |
|
static |
◆ GetDefaultFileName()
| static string Barotrauma.AnimationParams.GetDefaultFileName |
( |
Identifier | speciesName, |
|
|
AnimationType | animType ) |
|
static |
◆ GetFolder()
| static string Barotrauma.AnimationParams.GetFolder |
( |
Identifier | speciesName | ) |
|
|
static |
◆ GetParamTypeFromAnimType()
| static Type Barotrauma.AnimationParams.GetParamTypeFromAnimType |
( |
AnimationType | type, |
|
|
bool | isHumanoid ) |
|
static |
◆ Load()
| bool Barotrauma.AnimationParams.Load |
( |
ContentPath | file, |
|
|
Identifier | speciesName ) |
|
protected |
◆ ParseFootAngles()
| static string Barotrauma.AnimationParams.ParseFootAngles |
( |
Dictionary< int, float > | footAngles | ) |
|
|
staticprotected |
◆ Redo()
| void Barotrauma.AnimationParams.Redo |
( |
| ) |
|
◆ Serialize()
| bool Barotrauma.AnimationParams.Serialize |
( |
| ) |
|
◆ SetFootAngles()
| static void Barotrauma.AnimationParams.SetFootAngles |
( |
Dictionary< int, float > | footAngles, |
|
|
string | value ) |
|
staticprotected |
◆ StoreSnapshot()
| void Barotrauma.AnimationParams.StoreSnapshot |
( |
| ) |
|
|
abstract |
◆ StoreSnapshot< T >()
- Type Constraints
-
| T | : | AnimationParams | |
| T | : | new() | |
◆ Undo()
| void Barotrauma.AnimationParams.Undo |
( |
| ) |
|
◆ UpdatePath()
| override void Barotrauma.AnimationParams.UpdatePath |
( |
ContentPath | newPath | ) |
|
|
protectedvirtual |
◆ AnimationType
◆ ArmIKStrength
| float Barotrauma.AnimationParams.ArmIKStrength |
|
getset |
◆ CycleSpeed
| float Barotrauma.AnimationParams.CycleSpeed |
|
getset |
◆ FootTorque
| float Barotrauma.AnimationParams.FootTorque |
|
getset |
◆ HandIKStrength
| float Barotrauma.AnimationParams.HandIKStrength |
|
getset |
◆ HeadAngle
| float Barotrauma.AnimationParams.HeadAngle |
|
getset |
◆ HeadAngleInRadians
| float Barotrauma.AnimationParams.HeadAngleInRadians = float.NaN |
|
get |
◆ HeadTorque
| float Barotrauma.AnimationParams.HeadTorque |
|
getset |
◆ IsGroundedAnimation
| bool Barotrauma.AnimationParams.IsGroundedAnimation |
|
get |
◆ IsSwimAnimation
| bool Barotrauma.AnimationParams.IsSwimAnimation |
|
get |
◆ Memento
◆ MovementSpeed
| float Barotrauma.AnimationParams.MovementSpeed |
|
getset |
◆ SpeciesName
| Identifier Barotrauma.AnimationParams.SpeciesName |
|
get |
◆ TorsoAngle
| float Barotrauma.AnimationParams.TorsoAngle |
|
getset |
◆ TorsoAngleInRadians
| float Barotrauma.AnimationParams.TorsoAngleInRadians = float.NaN |
|
get |
◆ TorsoTorque
| float Barotrauma.AnimationParams.TorsoTorque |
|
getset |
The documentation for this class was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Characters/Params/Animation/AnimationParams.cs