ConstructorOptions

Properties

Link copied to clipboard
abstract var closed: Boolean?

When true, the geometry is expected to be closed so Appearance.renderState has backface culling enabled. Default value - false

Link copied to clipboard

Optional GLSL fragment shader source to override the default fragment shader.

Link copied to clipboard
abstract var material: Material?

The material used to determine the fragment color. Default value - Material.ColorType

Link copied to clipboard
abstract var renderState: Any?

Optional render state to override the default render state.

Link copied to clipboard
abstract var translucent: Boolean?

When true, the geometry is expected to appear translucent so Appearance.renderState has alpha blending enabled. Default value - true

Link copied to clipboard
abstract var vertexShaderSource: String?

Optional GLSL vertex shader source to override the default vertex shader.