@JsType(isNative=true, namespace="<global>", name="Object") public class EllipsoidSurfaceAppearanceOptions extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
aboveGround
When true, the geometry is expected to be on the ellipsoid's surface - not at a constant height above it - so EllipsoidSurfaceAppearance#renderState has backface culling enabled.
|
boolean |
faceForward
When true, the fragment shader flips the surface normal as needed to ensure that the normal faces the
viewer to avoid dark spots.
|
boolean |
flat
When true, flat shading is used in the fragment shader, which means lighting is not taking into account.
|
String |
fragmentShaderSource
GLSL fragment shader source to override the default fragment shader.
|
Material |
material
The material used to determine the fragment color.
|
Object |
renderState
render state to override the default render state.
|
boolean |
translucent
When true, the geometry is expected to appear translucent so EllipsoidSurfaceAppearance#renderState has alpha blending enabled.
|
String |
vertexShaderSource
GLSL vertex shader source to override the default vertex shader.
|
Constructor and Description |
---|
EllipsoidSurfaceAppearanceOptions()
Options for
EllipsoidSurfaceAppearance |
@JsProperty public boolean flat
@JsProperty public boolean faceForward
@JsProperty public boolean translucent
@JsProperty public boolean aboveGround
@JsProperty public Material material
Material.ColorType()
@JsProperty public String vertexShaderSource
@JsProperty public String fragmentShaderSource
@JsProperty public Object renderState
@JsConstructor public EllipsoidSurfaceAppearanceOptions()
EllipsoidSurfaceAppearance
Copyright © 2019. All rights reserved.