FSO.LotView.Components.EntityComponent.GetSLOTPosition C# (CSharp) Method

GetSLOTPosition() public method

public GetSLOTPosition ( int slot ) : Vector3
slot int
return Vector3
        public virtual Vector3 GetSLOTPosition(int slot)
        {
            return new Vector3(0, 0, 0);
        }

Usage Example

Ejemplo n.º 1
0
 public void PrepareSlotInterpolation()
 {
     _IdleFramesPct   = 1f;
     SnapSelfPrevious = _Position;
     if (Container != null)
     {
         PreviousSlotOffset = Container.GetSLOTPosition(ContainerSlot, false) - Container.Position;
     }
     else
     {
         PreviousSlotOffset = null;
     }
 }