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.
Clamps the mutable point to the specified rectangle.
mutating func clamp(to rect: Rect3D)The rectangle structure that defines the clamp volume.