Class BlueprintPlacementInput<TCoordinate>
- Namespace
- Root
- Assembly
- Game.Interaction.dll
public class BlueprintPlacementInput<TCoordinate> : IBlueprintInput<TCoordinate>, IPlacementInput, IActionablePlacementInput, IRestartablePlacementInput, IDraggablePlacementInput<TCoordinate>, IDraggablePlacementInput, IForciblePlacementInput, IRotatablePlacementInput, IPreferredPlacementRotationModifier where TCoordinate : IEquatable<TCoordinate>
Type Parameters
TCoordinate
- Inheritance
-
objectBlueprintPlacementInput<TCoordinate>
- Implements
-
IBlueprintInput<TCoordinate>IDraggablePlacementInput<TCoordinate>
- Extension Methods
Constructors
BlueprintPlacementInput(GridRotation, bool)
public BlueprintPlacementInput(GridRotation rotation, bool flipped)
Parameters
rotationGridRotationflippedbool
Properties
Cancelled
public bool Cancelled { get; set; }
Property Value
- bool
Confirmed
public bool Confirmed { get; set; }
Property Value
- bool
EndPosition
public TCoordinate EndPosition { get; set; }
Property Value
- TCoordinate
IsFlipped
public bool IsFlipped { get; set; }
Property Value
- bool
MirroredAcrossPrimaryAxis
public bool MirroredAcrossPrimaryAxis { get; set; }
Property Value
- bool
MirroredAcrossSecondaryAxis
public bool MirroredAcrossSecondaryAxis { get; set; }
Property Value
- bool
PreferredRotation
public GridRotation PreferredRotation { get; }
Property Value
Rotation
public GridRotation Rotation { get; set; }
Property Value
StartPosition
public TCoordinate StartPosition { get; set; }
Property Value
- TCoordinate
StartedDragging
public bool StartedDragging { get; set; }
Property Value
- bool
StartedPlacement
public bool StartedPlacement { get; set; }
Property Value
- bool
UseForce
public bool UseForce { get; set; }
Property Value
- bool
Methods
Restart()
public void Restart()
Rotate(GridRotation)
public void Rotate(GridRotation rotation)
Parameters
rotationGridRotation
TryGetDraggedPosition(out TCoordinate)
public bool TryGetDraggedPosition(out TCoordinate position)
Parameters
positionTCoordinate
Returns
- bool
UpdateDraggedPosition(TCoordinate)
public void UpdateDraggedPosition(TCoordinate position)
Parameters
positionTCoordinate