Table of Contents

Class DoorwayInfo

Namespace
S1MAPI.Building.Structural
Assembly
S1MAPI_Mono.dll

Records the position and dimensions of a doorway in an interior wall. Used for future NavMesh link generation.

public sealed class DoorwayInfo
Inheritance
DoorwayInfo
Inherited Members

Constructors

DoorwayInfo(Vector3, float, float, bool, float)

Create a doorway info record.

public DoorwayInfo(Vector3 center, float width, float height, bool facesAlongZ, float wallThickness)

Parameters

center Vector3
width float
height float
facesAlongZ bool
wallThickness float

Properties

Center

Center of the doorway in local building coordinates.

public Vector3 Center { get; }

Property Value

Vector3

FacesAlongZ

True if the wall's normal faces along Z (i.e., the wall runs along X).

public bool FacesAlongZ { get; }

Property Value

bool

Height

Height of the doorway opening in meters.

public float Height { get; }

Property Value

float

WallThickness

Thickness of the wall containing this doorway.

public float WallThickness { get; }

Property Value

float

Width

Width of the doorway opening in meters.

public float Width { get; }

Property Value

float