Table of Contents

Class PathEndRotationPlacementTracker<TPivot, TCoordinate, TVector, TDirection, TAxis>

Namespace
Root
Assembly
SPZGameAssembly.dll
public class PathEndRotationPlacementTracker<TPivot, TCoordinate, TVector, TDirection, TAxis> : IRotatePlacementTracker, IPlacementTracker, IPathEndRotationPlacementTracker where TPivot : IPivot<TCoordinate, TDirection, TPivot> where TCoordinate : struct, IDiscreteCoordinateTranslatableByVector<TCoordinate, TVector> where TVector : IVector<TVector, TDirection, TAxis> where TDirection : IDirection3D<TDirection> where TAxis : IAxis<TAxis>

Type Parameters

TPivot
TCoordinate
TVector
TDirection
TAxis
Inheritance
object
PathEndRotationPlacementTracker<TPivot, TCoordinate, TVector, TDirection, TAxis>
Implements
Extension Methods

Constructors

PathEndRotationPlacementTracker(IVectorDiscreteSpace<TCoordinate, TVector, TDirection, TAxis>, string, string)

public PathEndRotationPlacementTracker(IVectorDiscreteSpace<TCoordinate, TVector, TDirection, TAxis> discreteSpace, string rotateCwKeybinding, string rotateCcwKeybinding)

Parameters

discreteSpace IVectorDiscreteSpace<TCoordinate, TVector, TDirection, TAxis>
rotateCwKeybinding string
rotateCcwKeybinding string

Properties

OnRotate

public IEvent OnRotate { get; }

Property Value

IEvent

Methods

Track(InputDownstreamContext, Viewport, PlacementInputHolder, IReadOnlyMapLayoutModel, IPlacementData, IPlacementErrors, out bool)

public void Track(InputDownstreamContext inputContext, Viewport viewport, PlacementInputHolder placementInput, IReadOnlyMapLayoutModel map, IPlacementData placementData, IPlacementErrors placementErrors, out bool inputUpdated)

Parameters

inputContext InputDownstreamContext
viewport Viewport
placementInput PlacementInputHolder
map IReadOnlyMapLayoutModel
placementData IPlacementData
placementErrors IPlacementErrors
inputUpdated bool