Class NodeProperties
- Namespace
- LibreRally.Vehicle.JBeam
- Assembly
- LibreRally.dll
Raw per-node properties accumulated from preceding property-setter objects.
public record NodeProperties : IEquatable<NodeProperties>
- Inheritance
-
NodeProperties
- Implements
- Inherited Members
Constructors
NodeProperties(float, bool, bool, string, float, List<string>)
Raw per-node properties accumulated from preceding property-setter objects.
public NodeProperties(float Weight, bool Collision, bool SelfCollision, string Material, float FrictionCoef, List<string> Groups)
Parameters
WeightfloatNode mass in kilograms.
CollisionboolWhether the node participates in collision tests.
SelfCollisionboolWhether the node can collide with other nodes on the same vehicle.
MaterialstringBeamNG material token applied to the node.
FrictionCoeffloatPer-node friction coefficient override.
GroupsList<string>Node groups assigned to the node.
Properties
Collision
Whether the node participates in collision tests.
public bool Collision { get; init; }
Property Value
FrictionCoef
Per-node friction coefficient override.
public float FrictionCoef { get; init; }
Property Value
Groups
Node groups assigned to the node.
public List<string> Groups { get; init; }
Property Value
Material
BeamNG material token applied to the node.
public string Material { get; init; }
Property Value
SelfCollision
Whether the node can collide with other nodes on the same vehicle.
public bool SelfCollision { get; init; }
Property Value
Weight
Node mass in kilograms.
public float Weight { get; init; }