Class BeamProperties
- Namespace
- LibreRally.Vehicle.JBeam
- Assembly
- LibreRally.dll
Raw per-beam properties accumulated from preceding property-setter objects.
public record BeamProperties : IEquatable<BeamProperties>
- Inheritance
-
BeamProperties
- Implements
- Inherited Members
Constructors
BeamProperties(float, float, float, float, string, string, float, bool)
Raw per-beam properties accumulated from preceding property-setter objects.
public BeamProperties(float Spring, float Damp, float Deform, float Strength, string BeamType, string DeformGroup, float DeformationTriggerRatio, bool Optional)
Parameters
SpringfloatBeam spring stiffness.
DampfloatBeam damping coefficient.
DeformfloatBeam deformation threshold.
StrengthfloatBeam break strength.
BeamTypestringBeamNG beam behaviour token.
DeformGroupstringDeformation group name when one is supplied.
DeformationTriggerRatiofloatDamage ratio that triggers deformation events.
OptionalboolWhether the beam may be omitted when references are missing.
Properties
BeamType
BeamNG beam behaviour token.
public string BeamType { get; init; }
Property Value
Damp
Beam damping coefficient.
public float Damp { get; init; }
Property Value
Deform
Beam deformation threshold.
public float Deform { get; init; }
Property Value
DeformGroup
Deformation group name when one is supplied.
public string DeformGroup { get; init; }
Property Value
DeformationTriggerRatio
Damage ratio that triggers deformation events.
public float DeformationTriggerRatio { get; init; }
Property Value
Optional
Whether the beam may be omitted when references are missing.
public bool Optional { get; init; }
Property Value
Spring
Beam spring stiffness.
public float Spring { get; init; }
Property Value
Strength
Beam break strength.
public float Strength { get; init; }