trait SemiInterpolation[A] extends AnyRef
Semi-interpolation varies a single value over time. It can be seen as an Interpolation with one end fixed (left or right).
- Self Type
- SemiInterpolation[A]
- Alphabetic
- By Inheritance
- SemiInterpolation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
apply(value: A, t: Double): A
Produce the value at time
t
(from 0 to 1)
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lens[B](l: Lens[B, A]): SemiInterpolation[B]
Obtain a semi-interpolation of type
B
that varies a value of typeA
“inside” it using the current semi-interpolation -
def
mapTime(f: (Double) ⇒ Double): SemiInterpolation[A]
Map the time interval with the given function
Map the time interval with the given function
For example, the function (_ * 2) will make the interpolation twice faster, and it will happen in the first half of the full time interval.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
optional[B](o: Optional[B, A]): SemiInterpolation[B]
Obtain a semi-interpolation of type
B
that varies a value of typeA
“inside” it using the current semi-interpolation -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
timespan(from: Double, to: Double): SemiInterpolation[A]
Make the interpolation happen in the given timespan, instead of [0; 1]
Make the interpolation happen in the given timespan, instead of [0; 1]
This is essentially a more convenient alternative to
mapTime
. For example,timespan(0, 1.0/2)
is equivalent tomapTime(_ * 2)
. -
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated