Class AssembledFlexBody
- Namespace
- LibreRally.Vehicle
- Assembly
- LibreRally.dll
A named group of mesh objects and the node groups they are driven by. When present, the transform offset uses the absolute BeamNG-space origin from the flexbody row.
public record AssembledFlexBody : IEquatable<AssembledFlexBody>
- Inheritance
-
AssembledFlexBody
- Implements
- Inherited Members
Constructors
AssembledFlexBody(string, List<string>, Vector3?, Vector3?, Vector3?, string, string)
A named group of mesh objects and the node groups they are driven by. When present, the transform offset uses the absolute BeamNG-space origin from the flexbody row.
public AssembledFlexBody(string MeshName, List<string> NodeGroups, Vector3? Position = null, Vector3? Rotation = null, Vector3? Scale = null, string SourcePartName = "", string SourceSlotType = "")
Parameters
MeshNamestringMesh object name from the imported model.
NodeGroupsList<string>Node groups that drive the mesh.
PositionVector3?Optional mesh origin override in BeamNG space.
RotationVector3?Optional mesh rotation override in BeamNG space.
ScaleVector3?Optional mesh scale override.
SourcePartNamestringName of the source JBeam part.
SourceSlotTypestringSlot type of the source JBeam part.
Properties
MeshName
Mesh object name from the imported model.
public string MeshName { get; init; }
Property Value
NodeGroups
Node groups that drive the mesh.
public List<string> NodeGroups { get; init; }
Property Value
Position
Optional mesh origin override in BeamNG space.
public Vector3? Position { get; init; }
Property Value
Rotation
Optional mesh rotation override in BeamNG space.
public Vector3? Rotation { get; init; }
Property Value
Scale
Optional mesh scale override.
public Vector3? Scale { get; init; }
Property Value
SourcePartName
Name of the source JBeam part.
public string SourcePartName { get; init; }
Property Value
SourceSlotType
Slot type of the source JBeam part.
public string SourceSlotType { get; init; }