Skip to main content

Item.DockPositioning

A class in Root.Township, Alta.Inventory.

Where an item sits when stored in a dock: a local position and rotation. PickupDock gets one from Item.GetPositioning and scales the position to fit.

Constructors​

MemberWhat it is
DockPositioning(Vector3 storePosition, Vector3 storeEuler)Creates an Item.DockPositioning from storePosition and storeEuler.

Fields​

2 private and internal fields
MemberWhat it is
private Vector3 storeEulerBacking field for StoreEuler.
private Vector3 storePositionBacking field for StorePosition.

Properties​

MemberWhat it is
Vector3 StoreEuler { get; }Rotation of the stored item, as Euler angles.
Vector3 StorePosition { get; }Position of the stored item relative to the dock, before the dock scales it.

Used in​

Members of other types that take, return or hold a DockPositioning: