Contents

init(center:size:)

Creates a rectangle from Spatial vectors that describe the center and size.

Declaration

init(center: Vector3DFloat = .zero, size: Vector3DFloat)

Parameters

  • center:

    The center of the rectangle.

  • size:

    The size of the rectangle.