Class LineRotatePlacementTracker<TCoordinate, TDirection, TPivot>
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class LineRotatePlacementTracker<TCoordinate, TDirection, TPivot> : IRotatePlacementTracker, IPlacementTracker where TCoordinate : IEquatable<TCoordinate> where TDirection : struct, IDirection3D<TDirection> where TPivot : IPivot<TCoordinate, TDirection, TPivot>
Type Parameters
TCoordinateTDirectionTPivot
- Inheritance
-
objectLineRotatePlacementTracker<TCoordinate, TDirection, TPivot>
- Implements
- Extension Methods
Constructors
LineRotatePlacementTracker(string, string)
public LineRotatePlacementTracker(string rotateCwKeybinding, string rotateCcwKeybinding)
Parameters
rotateCwKeybindingstringrotateCcwKeybindingstring
Properties
OnRotate
public IEvent OnRotate { get; }
Property Value
Methods
GetKeybindingHints()
public IEnumerable<PlacementKeybindingHintData> GetKeybindingHints()
Returns
- IEnumerable<PlacementKeybindingHintData>
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