Contents

init(center:size:)

Creates a rectangle at the specified center with the specified size.

Declaration

init(center: Point3DFloat, size: Size3DFloat)

Parameters

  • center:

    A point structure that specifies the center of the rectangle.

  • size:

    A size structure that specifies the sie of the rectangle.

Return Value

A new rectangle stucture.

Discussion

Returns a rectangle at the specified center.