-
Notifications
You must be signed in to change notification settings - Fork 16
PartSaveInfo
Tommo J. Phillips edited this page Oct 22, 2023
·
2 revisions
Namespace: TommoJProductions.ModApi.Attachable
Represents save info about a particluar part.
public class PartSaveInfoInheritance Object → PartSaveInfo
Represents the parts world position.
public Vector3 position { get; set; }Vector3
Represents the parts world rotation (euler angles)
public Vector3 rotation { get; set; }Vector3
Represents whether or not the part is installed.
public bool installed { get; set; }Represents the install point id
public string installPointId { get; set; }Represents all bolt save infos. if part has no bolts.
public Int32[] boltTightness { get; set; }Initializes a new part save info with default values..
public PartSaveInfo()Copies fields of PartSaveInfo to a new instance and returns.
public PartSaveInfo copy()copies part save info and assigns fields.
public static PartSaveInfo copy(PartSaveInfo save)save PartSaveInfo
The save info to replicate