@JsType(isNative=true,
namespace="Cesium",
name="PolylineColorAppearance")
public class PolylineColorAppearance
extends Appearance
material, translucent| Constructor and Description |
|---|
PolylineColorAppearance()
An appearance for
GeometryInstance instances with color attributes and PolylineGeometry. |
PolylineColorAppearance(PolylineColorAppearanceOptions options)
An appearance for
GeometryInstance instances with color attributes and PolylineGeometry. |
| Modifier and Type | Method and Description |
|---|---|
static VertexFormat |
VERTEX_FORMAT()
The VertexFormat that all
PolylineColorAppearance instances are compatible with. |
VertexFormat |
vertexFormat()
The
VertexFormat that this appearance instance is compatible with. |
closed, fragmentShaderSource, getFragmentShaderSource, getRenderState, isTranslucent, renderState, vertexShaderSource@JsConstructor public PolylineColorAppearance()
GeometryInstance instances with color attributes and PolylineGeometry.
This allows several geometry instances, each with a different color, to be drawn with the same Primitive.@JsConstructor public PolylineColorAppearance(PolylineColorAppearanceOptions options)
GeometryInstance instances with color attributes and PolylineGeometry.
This allows several geometry instances, each with a different color, to be drawn with the same Primitive.options - PolylineColorAppearanceOptions@JsProperty(name="VERTEX_FORMAT") public static VertexFormat VERTEX_FORMAT()
PolylineColorAppearance instances are compatible with.
This requires only a position attribute.@JsProperty(name="vertexFormat") public VertexFormat vertexFormat()
VertexFormat that this appearance instance is compatible with. A geometry can have more vertex
attributes and still be compatible - at a potential performance cost - but it can't have less.
Default: VERTEX_FORMAT()Copyright © 2019. All rights reserved.