Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Sandbox.ModAPI.Ingame.MyShipMass

Morten Aune Lyrstad edited this page Apr 16, 2022 · 41 revisions

IndexNamespace Index

MyShipMass Struct

public struct MyShipMass

Describes ship mass

Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll

Fields

float BaseMass

Gets the base mass of the ship.

float PhysicalMass

Gets the physical mass of the ship, which accounts for inventory multiplier.

float TotalMass

Gets the total mass of the ship, including cargo.

Constructors

MyShipMass(float mass, float totalMass, float physicalMass)

Clone this wiki locally