Home
last modified time | relevance | path

Searched refs:SpotLight (Results 1 – 20 of 20) sorted by relevance

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/environment/
DSpotLight.java25 public class SpotLight extends BaseLight<SpotLight> { class
32 public SpotLight setPosition(float positionX, float positionY, float positionZ) { in setPosition()
37 public SpotLight setPosition(Vector3 position) { in setPosition()
42 public SpotLight setDirection(float directionX, float directionY, float directionZ) { in setDirection()
47 public SpotLight setDirection(Vector3 direction) { in setDirection()
52 public SpotLight setIntensity(float intensity) { in setIntensity()
57 public SpotLight setCutoffAngle(float cutoffAngle) { in setCutoffAngle()
62 public SpotLight setExponent(float exponent) { in setExponent()
67 public SpotLight set (final SpotLight copyFrom) { in set()
71 …public SpotLight set (final Color color, final Vector3 position, final Vector3 direction, final fl… in set()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/
DEnvironment.java26 import com.badlogic.gdx.graphics.g3d.environment.SpotLight;
54 } else if (light instanceof SpotLight) in add()
55 add((SpotLight)light); in add()
75 public Environment add (SpotLight light) { in add()
99 else if (light instanceof SpotLight) in remove()
100 remove((SpotLight)light); in remove()
126 public Environment remove (SpotLight light) { in remove()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/classical/
DPass2Shader.java30 import com.badlogic.gdx.graphics.g3d.environment.SpotLight;
85 if (l instanceof SpotLight) intensity = ((SpotLight)l).intensity;
96 if (l instanceof SpotLight) {
97 shader.set(inputID, ((SpotLight)l).direction);
111 if (l instanceof SpotLight) {
112 shader.set(inputID, ((SpotLight)l).intensity);
123 if (l instanceof SpotLight) {
124 shader.set(inputID, ((SpotLight)l).position);
141 if (l instanceof SpotLight) {
142 shader.set(inputID, ((SpotLight)l).exponent);
Dmain.fragment.glsl75 struct SpotLight
84 uniform SpotLight u_spotLights[numSpotLights];
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/attributes/
DSpotLightsAttribute.java6 import com.badlogic.gdx.graphics.g3d.environment.SpotLight;
21 public final Array<SpotLight> lights;
25 lights = new Array<SpotLight>(1); in SpotLightsAttribute()
41 for (SpotLight light : lights) in hashCode()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/
DShadowSystem.java26 import com.badlogic.gdx.graphics.g3d.environment.SpotLight;
96 public void addLight (SpotLight spot); in addLight()
113 public void removeLight (SpotLight spot); in removeLight()
125 public boolean hasLight (SpotLight spot); in hasLight()
DBaseShadowSystem.java34 import com.badlogic.gdx.graphics.g3d.environment.SpotLight;
76 …protected ObjectMap<SpotLight, LightProperties> spotCameras = new ObjectMap<SpotLight, LightProper…
94 protected Entries<SpotLight, LightProperties> spotCameraIterator;
155 public void addLight (SpotLight spot) { in addLight()
203 public void removeLight (SpotLight spot) { in removeLight()
218 public boolean hasLight (SpotLight spot) { in hasLight()
237 for (ObjectMap.Entry<SpotLight, LightProperties> e : spotCameras) { in update()
337 ObjectMap.Entry<SpotLight, LightProperties> e = spotCameraIterator.next(); in nextSpot()
407 public ObjectMap<SpotLight, LightProperties> getSpotCameras () { in getSpotCameras()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/lights/
DLightHelper.java38 import com.jme3.light.SpotLight;
85 result = new SpotLight(); in toLight()
87 … ((SpotLight)result).setSpotRange(((Number) structure.getFieldValue("dist")).floatValue()); in toLight()
90 ((SpotLight)result).setSpotOuterAngle(outerAngle); in toLight()
96 ((SpotLight)result).setSpotInnerAngle(innerAngle); in toLight()
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DSceneLoader.java39 import com.jme3.light.SpotLight;
150 else if (light instanceof SpotLight){ in parseLightNormal()
151 ((SpotLight) light).setDirection(parseVector3(attribs)); in parseLightNormal()
160 if (light instanceof PointLight || light instanceof SpotLight){ in parseLightAttenuation()
178 ((SpotLight)light).setSpotRange(range); in parseLightAttenuation()
189 if (!(light instanceof SpotLight)){ in parseLightSpotLightRange()
194 SpotLight sl = (SpotLight) light; in parseLightSpotLightRange()
213 light = new SpotLight(); in parseLight()
390 }else if (light instanceof SpotLight){ in endElement()
391 SpotLight sl = (SpotLight) light; in endElement()
/external/jmonkeyengine/engine/src/test/jme3test/light/
DTestSpotLight.java37 import com.jme3.light.SpotLight;
57 SpotLight spot;
64 spot=new SpotLight(); in setupLighting()
DTestSpotLightTerrain.java39 import com.jme3.light.SpotLight;
77 SpotLight sl;
90 sl = new SpotLight(); in simpleInitApp()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/realistic/
DMainShader.java28 import com.badlogic.gdx.graphics.g3d.environment.SpotLight;
213 final Array<SpotLight> spots = sla == null ? null : sla.lights; in bindSpotShadows()
224 ObjectMap<SpotLight, LightProperties> spotCameras = shadowSystem.getSpotCameras(); in bindSpotShadows()
226 SpotLight sl = spots.get(i); in bindSpotShadows()
Dmain.fragment.glsl93 struct SpotLight
102 uniform SpotLight u_spotLights[numSpotLights];
/external/jmonkeyengine/engine/src/core/com/jme3/light/
DSpotLight.java55 public class SpotLight extends Light implements Savable { class
65 public SpotLight() { in SpotLight() method in SpotLight
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/objects/
DObjectHelper.java43 import com.jme3.light.SpotLight;
215 } else if(light instanceof SpotLight) { in toObject()
216 ((SpotLight)light).setPosition(t.getTranslation()); in toObject()
222 …((SpotLight)light).setDirection(axes[1].negate());//-Z is the direction axis of area lamp in blend… in toObject()
224 ((SpotLight)light).setDirection(axes[2].negate()); in toObject()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/
DDefaultShader.java42 import com.badlogic.gdx.graphics.g3d.environment.SpotLight;
495 protected final SpotLight spotLights[];
542 this.spotLights = new SpotLight[lighting && config.numSpotLights > 0 ? config.numSpotLights : 0]; in DefaultShader()
544 spotLights[i] = new SpotLight(); in DefaultShader()
748 for (final SpotLight spotLight : spotLights) in begin()
808 final Array<SpotLight> spots = sla == null ? null : sla.lights; in bindLights()
/external/jmonkeyengine/engine/src/core/com/jme3/material/
DMaterial.java687 SpotLight sl = (SpotLight) l; in updateLightListUniforms()
776 SpotLight sl = (SpotLight) l; in renderMultipassLighting()
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DLwjglGL1Renderer.java576 SpotLight sLight = (SpotLight) light; in setLighting()
/external/libgdx/
DCHANGES206 - Added SpotLight class, see https://github.com/libgdx/libgdx/pull/2907
/external/jmonkeyengine/
DNOTICE16873 ==> engine/src/core/com/jme3/light/SpotLight.java <==