/** * Sets the back clip distance to the specified value. * There are several considerations that need to be taken into * account when choosing values for the front and back clip * distances. These are enumerated in the description of * <a href=View.html#setFrontClipDistance(double)> * View.setFrontClipDistance</a>. * @param backDistance the new back clip distance in meters * @see View#setFrontClipDistance * @see View#setBackClipDistance */ public void setBackDistance(double backDistance) { if (isLiveOrCompiled()) if(!this.getCapability(ALLOW_BACK_DISTANCE_WRITE)) throw new CapabilityNotSetException(J3dI18N.getString("Clip0")); if (isLive()) ((ClipRetained)this.retained).setBackDistance(backDistance); else ((ClipRetained)this.retained).initBackDistance(backDistance); }