Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.ModAPI.Ingame.MyShipMass

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

IndexNamespace Index

MyShipMass Struct

public struct MyShipMass

Describes ship mass

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

Fields

Member Description
$1float BaseMass](Sandbox.ModAPI.Ingame.MyShipMass.BaseMass) Gets the base mass of the ship.
$1float PhysicalMass](Sandbox.ModAPI.Ingame.MyShipMass.PhysicalMass) Gets the physical mass of the ship, which accounts for inventory multiplier.
$1float TotalMass](Sandbox.ModAPI.Ingame.MyShipMass.TotalMass) Gets the total mass of the ship, including cargo.

Constructors

Member Description
$1MyShipMass(float, float, float)](Sandbox.ModAPI.Ingame.MyShipMass..ctor)

Clone this wiki locally