Searched refs:lightDirection (Results 1 – 1 of 1) sorted by relevance
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/ |
D | WaterFilter.java | 89 private Vector3f lightDirection = new Vector3f(0, -1, 0); field in WaterFilter 126 public WaterFilter(Node reflectionScene, Vector3f lightDirection) { in WaterFilter() argument 129 this.lightDirection = lightDirection; in WaterFilter() 231 lightDirection = l.getDirection(); in initFilter() 274 material.setVector3("LightDir", lightDirection); in initFilter() 307 oc.write(lightDirection, "lightDirection", new Vector3f(0, -1, 0)); in write() 351 lightDirection = (Vector3f) ic.readSavable("lightDirection", new Vector3f(0, -1, 0)); in read() 508 return lightDirection; in getLightDirection() 515 public void setLightDirection(Vector3f lightDirection) { in setLightDirection() argument 516 this.lightDirection = lightDirection; in setLightDirection() [all …]
|