/** * Sets the view distance and notifies the property change listeners registered via * {@link RenderingConfig#subscribe(PropertyChangeListener)} that listen for the property {@link #VIEW_DISTANCE}. * @param viewDistance the new view distance */ public void setViewDistance(ViewDistance viewDistance) { ViewDistance oldDistance = this.viewDistance; this.viewDistance = viewDistance; propertyChangeSupport.firePropertyChange(VIEW_DISTANCE, oldDistance, viewDistance); }
public void setRenderPlacingBox(boolean renderPlacingBox) { boolean oldValue = this.renderPlacingBox; this.renderPlacingBox = renderPlacingBox; propertyChangeSupport.firePropertyChange(RENDER_PLACING_BOX, oldValue, this.renderPlacingBox); }
public void setFilmGrain(boolean filmGrain) { boolean oldValue = this.filmGrain; this.filmGrain = filmGrain; propertyChangeSupport.firePropertyChange(FILM_GRAIN, oldValue, this.filmGrain); }
public void setEyeAdaptation(boolean eyeAdaptation) { boolean oldValue = this.eyeAdaptation; this.eyeAdaptation = eyeAdaptation; propertyChangeSupport.firePropertyChange(EYE_ADAPTATION, oldValue, this.eyeAdaptation); }
public void setVrSupport(boolean vrSupport) { boolean oldValue = this.vrSupport; this.vrSupport = vrSupport; propertyChangeSupport.firePropertyChange(VR_SUPPORT, oldValue, this.vrSupport); }
public void setDynamicShadowsPcfFiltering(boolean dynamicShadowsPcfFiltering) { boolean oldValue = this.dynamicShadowsPcfFiltering; this.dynamicShadowsPcfFiltering = dynamicShadowsPcfFiltering; propertyChangeSupport.firePropertyChange(DYNAMIC_SHADOWS_PCF_FILTERING, oldValue, this.dynamicShadowsPcfFiltering); }
public void setInscattering(boolean inscattering) { boolean oldValue = this.inscattering; this.inscattering = inscattering; propertyChangeSupport.firePropertyChange(INSCATTERING, oldValue, this.inscattering); }
public void setVolumetricFog(boolean volumetricFog) { boolean oldValue = this.volumetricFog; this.volumetricFog = volumetricFog; propertyChangeSupport.firePropertyChange(VOLUMETRIC_FOG, oldValue, this.volumetricFog); }
public void setWindowPosX(int windowPosX) { int oldValue = this.windowPosX; this.windowPosX = windowPosX; propertyChangeSupport.firePropertyChange(WINDOW_POS_X, oldValue, this.windowPosX); }
public void setWindowWidth(int windowWidth) { int oldValue = this.windowWidth; this.windowWidth = windowWidth; propertyChangeSupport.firePropertyChange(WINDOW_WIDTH, oldValue, this.windowWidth); }
public void setWindowHeight(int windowHeight) { int oldValue = this.windowHeight; this.windowHeight = windowHeight; propertyChangeSupport.firePropertyChange(WINDOW_HEIGHT, oldValue, this.windowHeight); }
public void setFlickeringLight(boolean flickeringLight) { boolean oldValue = this.flickeringLight; this.flickeringLight = flickeringLight; propertyChangeSupport.firePropertyChange(FLICKERING_LIGHT, oldValue, this.flickeringLight); }
public void setBlurIntensity(int blurIntensity) { int oldIntensity = this.blurIntensity; this.blurIntensity = blurIntensity; propertyChangeSupport.firePropertyChange(BLUR_INTENSITY, oldIntensity, this.blurIntensity); }
public void setMotionBlur(boolean motionBlur) { boolean oldValue = this.motionBlur; this.motionBlur = motionBlur; propertyChangeSupport.firePropertyChange(MOTION_BLUR, oldValue, this.motionBlur); }
public void setOutline(boolean outline) { boolean oldValue = this.outline; this.outline = outline; propertyChangeSupport.firePropertyChange(OUTLINE, oldValue, this.outline); }
public void setBloom(boolean bloom) { boolean oldValue = this.bloom; this.bloom = bloom; propertyChangeSupport.firePropertyChange(BLOOM, oldValue, this.bloom); }
public void setCloudShadows(boolean cloudShadows) { boolean oldValue = this.cloudShadows; this.cloudShadows = cloudShadows; propertyChangeSupport.firePropertyChange(CLOUD_SHADOWS, oldValue, this.cloudShadows); }
public void setRenderNearest(boolean renderNearest) { boolean oldValue = this.renderNearest; this.renderNearest = renderNearest; propertyChangeSupport.firePropertyChange(RENDER_NEAREST, oldValue, this.renderNearest); } public int getParticleEffectLimit() {
public void setVSync(boolean vsync) { boolean oldValue = this.vSync; this.vSync = vsync; propertyChangeSupport.firePropertyChange(V_SYNC, oldValue, this.vSync); }
/** * Changes the internal state of this circuit breaker. If there is actually a change * of the state value, all registered change listeners are notified. * * @param newState the new state to be set */ protected void changeState(final State newState) { if (state.compareAndSet(newState.oppositeState(), newState)) { changeSupport.firePropertyChange(PROPERTY_NAME, !isOpen(newState), isOpen(newState)); } }