Class AssembledBeam
- Namespace
- LibreRally.Vehicle
- Assembly
- LibreRally.dll
A single assembled beam connecting two nodes.
public record AssembledBeam : IEquatable<AssembledBeam>
- Inheritance
-
AssembledBeam
- Implements
- Inherited Members
Constructors
AssembledBeam(string, string, float, float, float, float, string, string)
A single assembled beam connecting two nodes.
public AssembledBeam(string Id1, string Id2, float Spring, float Damp, float DeformThreshold, float BreakStrength, string BeamType, string DeformGroup)
Parameters
Id1stringIdentifier of the first node.
Id2stringIdentifier of the second node.
SpringfloatResolved beam spring stiffness.
DampfloatResolved beam damping coefficient.
DeformThresholdfloatResolved deformation threshold.
BreakStrengthfloatResolved break strength.
BeamTypestringBeamNG beam type token.
DeformGroupstringOptional deformation group name.
Properties
BeamType
BeamNG beam type token.
public string BeamType { get; init; }
Property Value
BreakStrength
Resolved break strength.
public float BreakStrength { get; init; }
Property Value
Damp
Resolved beam damping coefficient.
public float Damp { get; init; }
Property Value
DeformGroup
Optional deformation group name.
public string DeformGroup { get; init; }
Property Value
DeformThreshold
Resolved deformation threshold.
public float DeformThreshold { get; init; }
Property Value
Id1
Identifier of the first node.
public string Id1 { get; init; }
Property Value
Id2
Identifier of the second node.
public string Id2 { get; init; }
Property Value
Spring
Resolved beam spring stiffness.
public float Spring { get; init; }