Tabnine Logo
WaterFilter.getReflectionScene
Code IndexAdd Tabnine to your IDE (free)

How to use
getReflectionScene
method
in
com.jme3.water.WaterFilter

Best Java code snippets using com.jme3.water.WaterFilter.getReflectionScene (Showing top 4 results out of 315)

origin: jMonkeyEngine/jmonkeyengine

/**
 * Sets the scene to render in the reflection map.
 *
 * @param reflectionScene the refraction scene.
 */
public void setReflectionScene(final Spatial reflectionScene) {
  final Spatial currentScene = getReflectionScene();
  if (reflectionView != null) {
    reflectionView.detachScene(currentScene == null? rootScene : currentScene);
  }
  this.reflectionScene = reflectionScene;
  if (reflectionView != null) {
    reflectionView.attachScene(reflectionScene == null? rootScene : reflectionScene);
  }
}
origin: jMonkeyEngine/jmonkeyengine

final Spatial reflectionScene = getReflectionScene();
final boolean needSaveReflectionScene = isNeedSaveReflectionScene();
origin: org.jmonkeyengine/jme3-effects

/**
 * Sets the scene to render in the reflection map.
 *
 * @param reflectionScene the refraction scene.
 */
public void setReflectionScene(final Spatial reflectionScene) {
  final Spatial currentScene = getReflectionScene();
  if (reflectionView != null) {
    reflectionView.detachScene(currentScene == null? rootScene : currentScene);
  }
  this.reflectionScene = reflectionScene;
  if (reflectionView != null) {
    reflectionView.attachScene(reflectionScene == null? rootScene : reflectionScene);
  }
}
origin: org.jmonkeyengine/jme3-effects

final Spatial reflectionScene = getReflectionScene();
final boolean needSaveReflectionScene = isNeedSaveReflectionScene();
com.jme3.waterWaterFiltergetReflectionScene

Javadoc

Gets the scene which is used to render in the reflection map.

Popular methods of WaterFilter

  • findLight
  • setFoamTexture
    Sets the foam texture
  • <init>
  • isNeedSaveReflectionScene
  • setCausticsTexture
    sets the texture to use to render caustics on the ground underwater
  • setColorExtinction
    Return at what depth the refraction color extinct the first value is for red the second is for green
  • setDeepWaterColor
    sets the deep water color see setWaterColor for general color default is (0.0039f, 0.00196f, 0.145f,
  • setHeightTexture
    Sets the height texture
  • setMaxAmplitude
    Sets the maximum waves amplitude default is 1.0
  • setNormalTexture
    Sets the normal Texture
  • setRefractionConstant
    This is a constant related to the index of refraction (IOR) used to compute the fresnel term. F = R0
  • setShininess
    Sets the shinines factor of the water default is 0.7f
  • setRefractionConstant,
  • setShininess,
  • setShoreHardness,
  • setSpeed,
  • setSunScale,
  • setUseFoam,
  • setUseRipples,
  • setWaterColor,
  • setWaterHeight

Popular in Java

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now