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
| Name | Type | Description |
|---|---|---|
widthMeters | float | |
lengthMeters | float | |
heightMeters | float |
Properties
| Member | Description |
|---|---|
| WidthMeters | Along app volume space X. |
| LengthMeters | Along app volume space Z, the horizontal depth. |
| HeightMeters | Along app volume space Y, the vertical rise. |
| Default | A 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