Contents

clamp(to:)

Clamps the mutable point to the specified rectangle.

Declaration

mutating func clamp(to rect: Rect3D)

Parameters

  • rect:

    The rectangle structure that defines the clamp volume.

See Also

Transforming a 3D point structure