Properties | |
bool | UseSineMovement [get, set] |
bool | Flip [get, set] |
float | FlipCooldown [get, set] |
float | FlipDelay [get, set] |
bool | Mirror [get, set] |
bool | MirrorLerp [get, set] |
float | WaveAmplitude [get, set] |
float | WaveLength [get, set] |
bool | RotateTowardsMovement [get, set] |
float | TailTorque [get, set] |
float | TailTorqueMultiplier [get, set] |
string | FootAngles [get, set] |
bool | UpdateAnimationWhenNotMoving [get, set] |
Dictionary< int, float > | FootAnglesInRadians = new Dictionary<int, float>() [get, set] |
Key = limb id, value = angle in radians. | |
float | TailAngle [get, set] |
In degrees. | |
float | TailAngleInRadians = float.NaN [get] |
![]() | |
float | SteerTorque [get, set] |
float | LegTorque [get, set] |
![]() | |
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] |
![]() |
Additional Inherited Members | |
![]() | |
bool | Serialize () |
bool | Deserialize () |
void | StoreSnapshot () |
void | Undo () |
void | Redo () |
void | ClearHistory () |
![]() | |
virtual bool | Save (string fileNameWithoutExtension=null, System.Xml.XmlWriterSettings settings=null) |
virtual bool | Reset (bool forceReload=false) |
![]() | |
void | StoreSnapshot () |
void | Undo () |
void | Redo () |
void | ClearHistory () |
![]() | |
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) |
![]() | |
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 T | GetDefaultAnimParams< T > (Character character, AnimationType animType) |
static T | GetAnimParams< T > (Character character, AnimationType animType, Either< string, ContentPath > file, bool throwErrors=true) |
static string | ParseFootAngles (Dictionary< int, float > footAngles) |
static void | SetFootAngles (Dictionary< int, float > footAngles, string value) |
![]() | |
ContentXElement | rootElement |
XDocument | doc |
|
getset |
Implements Barotrauma.IFishAnimation.
|
getset |
Implements Barotrauma.IFishAnimation.
|
getset |
Implements Barotrauma.IFishAnimation.
|
getset |
Implements Barotrauma.IFishAnimation.
|
getset |
Key = limb id, value = angle in radians.
Implements Barotrauma.IFishAnimation.
|
getset |
|
getset |
|
getset |
|
getset |
In degrees.
Implements Barotrauma.IFishAnimation.
|
get |
Implements Barotrauma.IFishAnimation.
|
getset |
Implements Barotrauma.IFishAnimation.
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |