Contents

init(origin:size:)

Declaration

init(origin: Point3DFloat, size: Size3DFloat)

Parameters

  • origin:

    A point structure that specifies the origin of the rectangle.

  • size:

    A size structure that specifies the size of the rectangle.

Return Value

A new rectangle stucture.

Discussion

Returns a rectangle at the specified origin.