Contents

init(position:extents:)

Creates a volume with the given center position and extents.

Declaration

init(position: SIMD3<Float> = .zero, extents: SIMD3<Float>)

Parameters

  • position:

    The center of the volume in portal-local space, in meters. Defaults to .zero.

  • extents:

    The full lengths (width, height, depth) of the volume in portal-local space, in meters.