Barotrauma Client Doc
Barotrauma.RagdollParams.JointParams Class Reference
Inheritance diagram for Barotrauma.RagdollParams.JointParams:
Barotrauma.RagdollParams.SubParam Barotrauma.ISerializableEntity

Public Member Functions

override string GenerateName ()
 
 JointParams (ContentXElement element, RagdollParams ragdoll)
 
- Public Member Functions inherited from Barotrauma.RagdollParams.SubParam
 SubParam (ContentXElement element, RagdollParams ragdoll)
 
virtual bool Deserialize (ContentXElement element=null, bool recursive=true)
 
virtual bool Serialize (ContentXElement element=null, bool recursive=true)
 
virtual void SetCurrentElementAsOriginalElement ()
 
virtual void Reset ()
 
virtual void AddToEditor (ParamsEditor editor, bool recursive=true, int space=0)
 

Properties

override string Name [get, set]
 
int Limb1 [get, set]
 
int Limb2 [get, set]
 
Vector2 Limb1Anchor [get, set]
 Should be converted to sim units. More...
 
Vector2 Limb2Anchor [get, set]
 Should be converted to sim units. More...
 
bool CanBeSevered [get, set]
 
float SeveranceProbabilityModifier [get, set]
 
string BreakSound [get, set]
 
bool LimitEnabled [get, set]
 
float UpperLimit [get, set]
 In degrees. More...
 
float LowerLimit [get, set]
 In degrees. More...
 
float Stiffness [get, set]
 
float Scale [get, set]
 
bool WeldJoint [get, set]
 
bool ClockWiseRotation [get, set]
 
- Properties inherited from Barotrauma.RagdollParams.SubParam
virtual string Name [get, set]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 
ContentXElement Element [get, set]
 
ContentXElement OriginalElement [get, protected set]
 
List< SubParamSubParams = new List<SubParam>() [get, set]
 
RagdollParams Ragdoll [get]
 
SerializableEntityEditor SerializableEntityEditor [get, protected set]
 
Dictionary< Affliction, SerializableEntityEditorAfflictionEditors [get]
 
- Properties inherited from Barotrauma.ISerializableEntity
string Name [get]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Barotrauma.RagdollParams.SubParam
ContentXElement CreateElement (string name, params object[] attrs)
 

Detailed Description

Definition at line 483 of file RagdollParams.cs.

Constructor & Destructor Documentation

◆ JointParams()

Barotrauma.RagdollParams.JointParams.JointParams ( ContentXElement  element,
RagdollParams  ragdoll 
)

Definition at line 559 of file RagdollParams.cs.

Member Function Documentation

◆ GenerateName()

override string Barotrauma.RagdollParams.JointParams.GenerateName ( )
virtual

Reimplemented from Barotrauma.RagdollParams.SubParam.

Property Documentation

◆ BreakSound

string Barotrauma.RagdollParams.JointParams.BreakSound
getset

Definition at line 530 of file RagdollParams.cs.

◆ CanBeSevered

bool Barotrauma.RagdollParams.JointParams.CanBeSevered
getset

Definition at line 524 of file RagdollParams.cs.

◆ ClockWiseRotation

bool Barotrauma.RagdollParams.JointParams.ClockWiseRotation
getset

Definition at line 557 of file RagdollParams.cs.

◆ Limb1

int Barotrauma.RagdollParams.JointParams.Limb1
getset

Definition at line 506 of file RagdollParams.cs.

◆ Limb1Anchor

Vector2 Barotrauma.RagdollParams.JointParams.Limb1Anchor
getset

Should be converted to sim units.

Definition at line 515 of file RagdollParams.cs.

◆ Limb2

int Barotrauma.RagdollParams.JointParams.Limb2
getset

Definition at line 509 of file RagdollParams.cs.

◆ Limb2Anchor

Vector2 Barotrauma.RagdollParams.JointParams.Limb2Anchor
getset

Should be converted to sim units.

Definition at line 521 of file RagdollParams.cs.

◆ LimitEnabled

bool Barotrauma.RagdollParams.JointParams.LimitEnabled
getset

Definition at line 533 of file RagdollParams.cs.

◆ LowerLimit

float Barotrauma.RagdollParams.JointParams.LowerLimit
getset

In degrees.

Definition at line 545 of file RagdollParams.cs.

◆ Name

override string Barotrauma.RagdollParams.JointParams.Name
getset

Definition at line 487 of file RagdollParams.cs.

◆ Scale

float Barotrauma.RagdollParams.JointParams.Scale
getset

Definition at line 551 of file RagdollParams.cs.

◆ SeveranceProbabilityModifier

float Barotrauma.RagdollParams.JointParams.SeveranceProbabilityModifier
getset

Definition at line 527 of file RagdollParams.cs.

◆ Stiffness

float Barotrauma.RagdollParams.JointParams.Stiffness
getset

Definition at line 548 of file RagdollParams.cs.

◆ UpperLimit

float Barotrauma.RagdollParams.JointParams.UpperLimit
getset

In degrees.

Definition at line 539 of file RagdollParams.cs.

◆ WeldJoint

bool Barotrauma.RagdollParams.JointParams.WeldJoint
getset

Definition at line 554 of file RagdollParams.cs.