Package com.mojang.blaze3d.audio
Class Listener
java.lang.Object
com.mojang.blaze3d.audio.Listener
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getGain()
void
reset()
void
setGain
(float p_83738_) void
setListenerOrientation
(org.joml.Vector3f p_254324_, org.joml.Vector3f p_253810_) void
setListenerPosition
(Vec3 p_83740_)
-
Field Details
-
gain
private float gain -
position
-
-
Constructor Details
-
Listener
public Listener()
-
-
Method Details
-
setListenerPosition
-
getListenerPosition
-
setListenerOrientation
public void setListenerOrientation(org.joml.Vector3f p_254324_, org.joml.Vector3f p_253810_) -
setGain
public void setGain(float p_83738_) -
getGain
public float getGain() -
reset
public void reset()
-