@JsType(isNative=true, namespace="<global>", name="Object") public class ShadowMapOptions extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
cascadesEnabled
Use multiple shadow maps to cover different partitions of the view frustum.
|
double |
darkness
The shadow darkness.
|
boolean |
enabled
Whether the shadow map is enabled.
|
boolean |
isPointLight
Whether the light source is a point light.
|
double |
maximumDistance
The maximum distance used for generating cascaded shadows.
|
int |
numberOfCascades
The number of cascades to use for the shadow map.
|
double |
pointLightRadius
Radius of the point light.
|
int |
size
The width and height, in pixels, of each shadow map.
|
boolean |
softShadows
Whether percentage-closer-filtering is enabled for producing softer shadows.
|
Constructor and Description |
---|
ShadowMapOptions() |
@JsProperty public boolean enabled
@JsProperty public boolean isPointLight
@JsProperty public double pointLightRadius
@JsProperty public boolean cascadesEnabled
@JsProperty public int numberOfCascades
@JsProperty public double maximumDistance
@JsProperty public int size
@JsProperty public boolean softShadows
@JsProperty public double darkness
Copyright © 2019. All rights reserved.