Package com.badlogic.gdx.graphics.g3d
Class Environment
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.Attributes
-
- com.badlogic.gdx.graphics.g3d.Environment
-
- All Implemented Interfaces:
java.lang.Comparable<Attributes>,java.lang.Iterable<Attribute>,java.util.Comparator<Attribute>
public class Environment extends Attributes
-
-
Field Summary
Fields Modifier and Type Field Description ShadowMapshadowMapShadow map used to render shadows-
Fields inherited from class com.badlogic.gdx.graphics.g3d.Attributes
attributes, mask, sorted
-
-
Constructor Summary
Constructors Constructor Description Environment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Environmentadd(BaseLight light)Environmentadd(BaseLight... lights)Environmentadd(DirectionalLight light)Environmentadd(PointLight light)Environmentadd(SpotLight light)Environmentadd(Array<BaseLight> lights)Environmentremove(BaseLight light)Environmentremove(BaseLight... lights)Environmentremove(DirectionalLight light)Environmentremove(PointLight light)Environmentremove(SpotLight light)Environmentremove(Array<BaseLight> lights)-
Methods inherited from class com.badlogic.gdx.graphics.g3d.Attributes
attributesHash, clear, compare, compareTo, equals, get, get, get, getMask, has, hashCode, indexOf, iterator, remove, same, same, set, set, set, set, set, set, size, sort
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
shadowMap
public ShadowMap shadowMap
Shadow map used to render shadows
-
-
Method Detail
-
add
public Environment add(BaseLight... lights)
-
add
public Environment add(Array<BaseLight> lights)
-
add
public Environment add(BaseLight light)
-
add
public Environment add(DirectionalLight light)
-
add
public Environment add(PointLight light)
-
add
public Environment add(SpotLight light)
-
remove
public Environment remove(BaseLight... lights)
-
remove
public Environment remove(Array<BaseLight> lights)
-
remove
public Environment remove(BaseLight light)
-
remove
public Environment remove(DirectionalLight light)
-
remove
public Environment remove(PointLight light)
-
remove
public Environment remove(SpotLight light)
-
-