Skip to content

Sein Stamp Shape

Struct · FSeinStampShape

#include "Stamping/SeinStampShape.h"

deterministic: safe in simulation code

One stamp on an entity: a disc, an oriented box or a wedge placed relative to the entity. An entity can carry several, such as one wedge per window plus a disc for its footprint. Systems that need an area on the map, such as vision, read it from the stamps.

ESeinStampShape Shape · default ESeinStampShape::Radial

Editable in defaults and on instances · Blueprint read and write

Which shape this stamp is. Only the fields for the chosen shape apply; the others are ignored.

bool bEnabled · default true

Editable in defaults and on instances · Blueprint read and write

Whether the stamp is active. A disabled stamp is skipped completely: it adds no blocking, no vision and no debug drawing. Turn it off for stamps that should switch on later, such as a window’s sight cone that is used only while the building is garrisoned.

FFixedVector LocalOffset · default FFixedVector::ZeroVector

Editable in defaults and on instances · Blueprint read and write

Where the stamp originates, relative to the entity and rotating with it, in world units. A stamp authored on a building’s wall stays on that wall whatever the building’s yaw. Height is ignored; zero means the entity’s center.

FFixedPoint YawOffsetDegrees · default FFixedPoint::Zero

Editable in defaults and on instances · Blueprint read and write

Facing of the stamp in degrees, added to the entity’s yaw. It sets the box axes and the wedge direction and is ignored for discs. Windows on the four walls of a building would use 0, 90, 180 and 270.

FFixedPoint Radius · default FFixedPoint::FromInt(100) · min 0.0

Editable in defaults and on instances · Blueprint read and write

Disc radius, in world units. Used only when Shape is Radial.

FFixedPoint HalfExtentX · default FFixedPoint::FromInt(150) · min 0.0

Editable in defaults and on instances · Blueprint read and write

Half the box length along the stamp’s facing direction, in world units, so the full length is twice this. Used only when Shape is Rect.

FFixedPoint HalfExtentY · default FFixedPoint::FromInt(100) · min 0.0

Editable in defaults and on instances · Blueprint read and write

Half the box width to the stamp’s right, in world units, so the full width is twice this. Used only when Shape is Rect.

FFixedPoint ConeAngleDegrees · default FFixedPoint::FromInt(60) · min 1.0, max 180.0

Editable in defaults and on instances · Blueprint read and write

Full opening angle of the wedge in degrees, from 1 to 180. A 60 degree wedge opens 30 degrees to each side of the facing direction. Used only when Shape is Conical.

FFixedPoint ConeLength · default FFixedPoint::FromInt(500) · min 0.0

Editable in defaults and on instances · Blueprint read and write

How far the wedge reaches from its tip, in world units. Used only when Shape is Conical.

bool bConeRoundEdge · default true

Editable in defaults and on instances · Blueprint read and write

Shape of the wedge’s far end. On, the end is a circular arc like a flashlight beam, and a cell is inside when its distance from the tip is within Cone Length. Off, the end is a straight cut across the facing direction, like a pie slice. Used only when Shape is Conical.

C++ members (2)
  • bool operator==(const FSeinStampShape& Other) const;
  • bool operator!=(const FSeinStampShape& Other) const;