AudioListenerPosition
interface AudioListenerPosition
Package: dev.joid.lib.video · Module: core · Source: AudioListenerPosition.java
Gives the position of the listener that the sound of placed videos fades with.
Description
Section titled “Description”Pass it as a lambda to VideoAudioPlayer.audioListenerPosition.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
Point | getListenerPosition() abstract | JOID calls it on each draw of a video that has a location: return the position of the listener, in the same units as the location of the videos. |
Method details
Section titled “Method details”getListenerPosition
Section titled “getListenerPosition”Point getListenerPosition() abstract
JOID calls it on each draw of a video that has a location: return the position of the listener, in the same units as the location of the videos.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
