Struct BuildingPlacementOptions
Assembly: cs.temp.dll.dll
Syntax
public struct BuildingPlacementOptions
Fields
disableRotation
Can the building be rotated during placement?
Declaration
public bool disableRotation
Field Value
initialCenter
Declaration
public IBorder initialCenter
Field Value
initialRotation
Declaration
public Quaternion initialRotation
Field Value
Type |
Description |
Quaternion |
|
isAddingSegment
True when adding a new segment to the currently processed pending placement.
False when the placement addition is to be added to the queue.
Declaration
public bool isAddingSegment
Field Value
isReplacingExisting
True when replacing existing segment with a different segment type.
Declaration
public bool isReplacingExisting
Field Value
isSnappingSegment
True when snapping a segment to an already placed building.
Declaration
public bool isSnappingSegment
Field Value
placeAroundData
Declaration
public IReadOnlyList<BuildingPlaceAroundData> placeAroundData
Field Value
setInitialRotation
Declaration
public bool setInitialRotation
Field Value
snapTarget
Target placed building that an existing placement segment would snap to.
Declaration
public IBuilding snapTarget
Field Value
Type |
Description |
IBuilding |
|
targetIndex
Holds the segment index to handle in a placement operation.
Declaration
Field Value