InRect

final case
class InRect(rate: Rate, x: GE, y: GE, left: GE, top: GE, right: GE, bottom: GE) extends SingleOut

A UGen that tests if two signals lie both within a given ranges. The two input signals can be understood as horizontal and vertical coordinates, therefore the test become one that determines whether the input is within a given "rectangle".

If x >= left and x <= right and y > top and y <= bottom , outputs 1.0, otherwise outputs 0.0.

Value Params
bottom

upper margin of vertical test range (inclusive)

left

lower margin of horizontal test range (inclusive)

right

upper margin of horizontal test range (inclusive)

top

lower margin of vertical test range (inclusive)

x

"horizontal" signal to test

y

"vertical" signal to test

See also
Companion
object
trait Serializable
class SingleOut
class SomeOut
trait Lazy
trait GE
class UGenSource[UGenInLike]
trait Expander[UGenInLike]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

final
def name: String
Inherited from
UGenSource
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Inherited fields

lazy override
val hashCode: Int
Inherited from
UGenSource