Skip to main content
Version: 0.9.0

AppVolumeSize struct

An app volume cuboid's extents in metres, centred on the volume's pose: it spans plus and minus half of each extent along app volume space X, Y and Z. Note the constructor order: width (X), length (Z), height (Y).

Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll · Source: QarTypes.cs

public readonly struct AppVolumeSize

Constructors​

AppVolumeSize(float, float, float)​

public AppVolumeSize(float widthMeters, float lengthMeters, float heightMeters)

Parameters

NameTypeDescription
widthMetersfloat
lengthMetersfloat
heightMetersfloat

Properties​

MemberDescription
WidthMetersAlong app volume space X.
LengthMetersAlong app volume space Z, the horizontal depth.
HeightMetersAlong app volume space Y, the vertical rise.
DefaultA 1 m cube.

WidthMeters​

Along app volume space X.

public float WidthMeters { get; }

Value: float

LengthMeters​

Along app volume space Z, the horizontal depth.

public float LengthMeters { get; }

Value: float

HeightMeters​

Along app volume space Y, the vertical rise.

public float HeightMeters { get; }

Value: float

Default​

A 1 m cube.

public static AppVolumeSize Default { get; }

Value: AppVolumeSize