backgroundsoundretained.java

来自「JAVA3D矩陈的相关类」· Java 代码 · 共 29 行

JAVA
29
字号
/* * $RCSfile: BackgroundSoundRetained.java,v $ * * Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved. * * Use is subject to license terms. * * $Revision: 1.4 $ * $Date: 2007/02/09 17:17:51 $ * $State: Exp $ */package javax.media.j3d; /** *  BackgroundSound is a class for sounds that are not spatially rendered. *  These sounds are simply added to the stereo sound mix without modification. *  These could be used to play mono or stereo music, or ambient sound effects. */class BackgroundSoundRetained extends SoundRetained {    BackgroundSoundRetained() {        this.nodeType = NodeRetained.BACKGROUNDSOUND;	localBounds = new BoundingBox();	((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);	((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0);    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?