text
stringlengths
0
8.81k
When true, the geometry is expected to appear translucent so Appearance#renderState has alpha blending enabled.
closed
boolean
false
optional
When true, the geometry is expected to be closed so Appearance#renderState has backface culling enabled.
material
Material
Material.ColorType
optional
The material used to determine the fragment color.
vertexShaderSource
string
optional
Optional GLSL vertex shader source to override the default vertex shader.
fragmentShaderSource
string
optional
Optional GLSL fragment shader source to override the default fragment shader.
renderState
object
optional
Optional render state to override the default render state.
Demo:
Geometry and Appearances Demo
See: