Codota Logo
WaterFilter.findLight
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: jMonkeyEngine/jmonkeyengine

private DirectionalLight findLight(Node node) {
  for (Light light : node.getWorldLightList()) {
    if (light instanceof DirectionalLight) {
      return (DirectionalLight) light;
    }
  }
  for (Spatial child : node.getChildren()) {
    if (child instanceof Node) {
      return findLight((Node) child);
    }
  }
  return null;
}
origin: jMonkeyEngine/jmonkeyengine

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

private DirectionalLight findLight(Node node) {
  for (Light light : node.getWorldLightList()) {
    if (light instanceof DirectionalLight) {
      return (DirectionalLight) light;
    }
  }
  for (Spatial child : node.getChildren()) {
    if (child instanceof Node) {
      return findLight((Node) child);
    }
  }
  return null;
}
origin: us.ihmc.thirdparty.jme/jme3-effects

private DirectionalLight findLight(Node node) {
  for (Light light : node.getWorldLightList()) {
    if (light instanceof DirectionalLight) {
      return (DirectionalLight) light;
    }
  }
  for (Spatial child : node.getChildren()) {
    if (child instanceof Node) {
      return findLight((Node) child);
    }
  }
  return null;
}
origin: info.projectkyoto/mms-engine

private DirectionalLight findLight(Node node) {
  for (Light light : node.getWorldLightList()) {
    if (light instanceof DirectionalLight) {
      return (DirectionalLight) light;
    }
  }
  for (Spatial child : node.getChildren()) {
    if (child instanceof Node) {
      return findLight((Node) child);
    }
  }
  return null;
}
origin: info.projectkyoto/mms-engine

DirectionalLight l = findLight((Node) reflectionScene);
if (l != null) {
  lightDirection = l.getDirection();
origin: us.ihmc.thirdparty.jme/jme3-effects

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

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

Popular methods of WaterFilter

  • 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
  • setShininess
    Sets the shinines factor of the water default is 0.7f
  • setRefractionConstant,
  • setShininess,
  • setShoreHardness,
  • setSpeed,
  • setSunScale,
  • setUseFoam,
  • setUseRipples,
  • setWaterColor,
  • setWaterHeight

Popular in Java

  • Finding current android device location
  • onRequestPermissionsResult (Fragment)
  • getApplicationContext (Context)
  • getContentResolver (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now