@JsType(isNative=true, namespace="<global>", name="Object") public class AppearanceOptions extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
closed
When true, the geometry is expected to be closed so Appearance#renderState has backface culling enabled.
|
String |
fragmentShaderSource
Optional GLSL fragment shader source to override the default fragment shader.
|
Material |
material
The material used to determine the fragment color.
|
Object |
renderState
Optional render state to override the default render state.
|
boolean |
translucent
When true, the geometry is expected to appear translucent so Appearance#renderState has alpha blending enabled.
|
String |
vertexShaderSource
Optional GLSL vertex shader source to override the default vertex shader.
|
Constructor and Description |
---|
AppearanceOptions()
Options for Apperance
|
@JsProperty public boolean translucent
@JsProperty public boolean closed
@JsProperty public Material material
Material.ColorType()
@JsProperty public String vertexShaderSource
@JsProperty public String fragmentShaderSource
@JsProperty public Object renderState
Copyright © 2019. All rights reserved.