📄 audioengine3d.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected java.util.ArrayList</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#getSampleList()">getSampleList</A></B>()</CODE><BR> <B>Deprecated.</B> <I>unsafe to get reference to samples list with this method. It's better to directly reference samples list within a synchronized block which also contains calls to .getSample(index).</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#getSampleListSize()">getSampleListSize</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#getStartTime(int)">getStartTime</A></B>(int index)</CODE><BR> Get time this sample begun playing on the audio device.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../javax/media/j3d/View.html" title="class in javax.media.j3d">View</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#getView()">getView</A></B>()</CODE><BR> Get reference to the current View object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#muteSample(int)">muteSample</A></B>(int index)</CODE><BR> Mute sample.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#pauseSample(int)">pauseSample</A></B>(int index)</CODE><BR> Pause sample.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#prepareSound(int, javax.media.j3d.MediaContainer)">prepareSound</A></B>(int soundType, <A HREF="../../../../javax/media/j3d/MediaContainer.html" title="class in javax.media.j3d">MediaContainer</A> soundData)</CODE><BR> Prepare Sound in device.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setAngularAttenuation(int, int, double[], float[], float[])">setAngularAttenuation</A></B>(int index, int filterType, double[] angle, float[] attenuationScaleFactor, float[] filterCutoff)</CODE><BR> Set angular attenuation arrays affecting angular amplitude attenuation and angular distance filtering.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setDirection(int, javax.vecmath.Vector3d)">setDirection</A></B>(int index, <A HREF="../../../../javax/vecmath/Vector3d.html" title="class in javax.vecmath">Vector3d</A> direction)</CODE><BR> Set direction vector of sample.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setDistanceFilter(int, double[], float[])">setDistanceFilter</A></B>(int filterType, double[] dist, float[] filterCutoff)</CODE><BR> Set distance filter for current aural attribute applied to all samples.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setDistanceGain(int, double[], float[], double[], float[])">setDistanceGain</A></B>(int index, double[] frontDistance, float[] frontAttenuationScaleFactor, double[] backDistance, float[] backAttenuationScaleFactor)</CODE><BR> Sets this sound's distance gain elliptical attenuation (not including filter cutoff frequency) by defining corresponding arrays containing distances from the sound's origin and gain scale factors applied to all active positional sounds.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setFrequencyScaleFactor(float)">setFrequencyScaleFactor</A></B>(float scaleFactor)</CODE><BR> Set frequency scale factor for current aural attribute applied to all samples.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setLoop(int, int)">setLoop</A></B>(int index, int count)</CODE><BR> Set number of times sample is looped.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setPosition(int, javax.vecmath.Point3d)">setPosition</A></B>(int index, <A HREF="../../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A> position)</CODE><BR> Set location of sample.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setReflectionCoefficient(float)">setReflectionCoefficient</A></B>(float coefficient)</CODE><BR> Set reverberation surface reflection coefficient value for current aural attribute applied to all samples.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setReverbDelay(float)">setReverbDelay</A></B>(float reverbDelay)</CODE><BR> Set reverberation delay time for current aural attribute applied to all samples.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setReverbOrder(int)">setReverbOrder</A></B>(int reverbOrder)</CODE><BR> Set reverberation order for current aural attribute applied to all samples.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setRolloff(float)">setRolloff</A></B>(float rolloff)</CODE><BR> Set rolloff value for current aural attribute applied to all samples.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setSampleGain(int, float)">setSampleGain</A></B>(int index, float scaleFactor)</CODE><BR> Set gain scale factor applied to sample.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setVelocityScaleFactor(float)">setVelocityScaleFactor</A></B>(float scaleFactor)</CODE><BR> Set velocity scale factor for current aural attribute applied to all samples when Doppler is calculated.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setView(javax.media.j3d.View)">setView</A></B>(<A HREF="../../../../javax/media/j3d/View.html" title="class in javax.media.j3d">View</A> reference)</CODE><BR> Save a reference to the current View object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#setVworldXfrm(int, javax.media.j3d.Transform3D)">setVworldXfrm</A></B>(int index, <A HREF="../../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> trans)</CODE><BR> Set the transform for local to virtual world coordinate space</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#startSample(int)">startSample</A></B>(int index)</CODE><BR> Start sample playing on audio device</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#stopSample(int)">stopSample</A></B>(int index)</CODE><BR> Stop sample playing on audio device</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#unmuteSample(int)">unmuteSample</A></B>(int index)</CODE><BR> Unmute sample.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#unpauseSample(int)">unpauseSample</A></B>(int index)</CODE><BR> Unpause sample.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html#updateSample(int)">updateSample</A></B>(int index)</CODE><BR> Update sample.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.sun.j3d.audioengines.AudioEngine"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.sun.j3d.audioengines.<A HREF="../../../../com/sun/j3d/audioengines/AudioEngine.html" title="class in com.sun.j3d.audioengines">AudioEngine</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../com/sun/j3d/audioengines/AudioEngine.html#close()">close</A>, <A HREF="../../../../com/sun/j3d/audioengines/AudioEngine.html#getAngleOffsetToSpeaker()">getAngleOffsetToSpeaker</A>, <A HREF="../../../../com/sun/j3d/audioengines/AudioEngine.html#getAudioPlaybackType()">getAudioPlaybackType</A>, <A HREF="../../../../com/sun/j3d/audioengines/AudioEngine.html#getCenterEarToSpeaker()">getCenterEarToSpeaker</A>, <A HREF="../../../../com/sun/j3d/audioengines/AudioEngine.html#getChannelsAvailable()">getChannelsAvailable</A>, <A HREF="../../../../com/sun/j3d/audioengines/AudioEngine.html#getChannelsUsedForSound(javax.media.j3d.Sound)">getChannelsUsedForSound</A>, <A HREF="../../../../com/sun/j3d/audioengines/AudioEngine.html#getTotalChannels()">getTotalChannels</A>, <A HREF="../../../../com/sun/j3d/audioengines/AudioEngine.html#initialize()">initialize</A>, <A HREF="../../../../com/sun/j3d/audioengines/AudioEngine.html#setAngleOffsetToSpeaker(float)">setAngleOffsetToSpeaker</A>, <A HREF="../../../../com/sun/j3d/audioengines/AudioEngine.html#setAudioPlaybackType(int)">setAudioPlaybackType</A>, <A HREF="../../../../com/sun/j3d/audioengines/AudioEngine.html#setCenterEarToSpeaker(float)">setCenterEarToSpeaker</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -