congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
WaterFilter.useDirectionLightFromScene
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: jMonkeyEngine/jmonkeyengine

reflectionScene = rootScene;
DirectionalLight directionalLight = findLight((Node) reflectionScene);
if (directionalLight != null && useDirectionLightFromScene()) {
  lightDirection = directionalLight.getDirection();
origin: org.jmonkeyengine/jme3-effects

reflectionScene = rootScene;
DirectionalLight directionalLight = findLight((Node) reflectionScene);
if (directionalLight != null && useDirectionLightFromScene()) {
  lightDirection = directionalLight.getDirection();
com.jme3.waterWaterFilteruseDirectionLightFromScene

Popular methods of WaterFilter

  • findLight
  • setFoamTexture
    Sets the foam texture
  • <init>
  • getReflectionScene
    Gets the scene which is used to render in the reflection map.
  • 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
  • setNormalTexture,
  • setRefractionConstant,
  • setShininess,
  • setShoreHardness,
  • setSpeed,
  • setSunScale,
  • setUseFoam,
  • setUseRipples,
  • setWaterColor,
  • setWaterHeight

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSystemService (Context)
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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