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
TPivotTCoordinateTVectorTDirectionTAxis
- Inheritance
-
objectPathEndRotationPlacementTracker<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
discreteSpaceIVectorDiscreteSpace<TCoordinate, TVector, TDirection, TAxis>rotateCwKeybindingstringrotateCcwKeybindingstring
Properties
OnRotate
public IEvent OnRotate { get; }
Property Value
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
inputContextInputDownstreamContextviewportViewportplacementInputPlacementInputHoldermapIReadOnlyMapLayoutModelplacementDataIPlacementDataplacementErrorsIPlacementErrorsinputUpdatedbool