@JsType(isNative=true, namespace="Cesium", name="GeometryInstanceAttribute") public class GeometryInstanceAttribute extends Object
Modifier and Type | Field and Description |
---|---|
ComponentDatatype |
componentDatatype
The datatype of each component in the attribute, e.g., individual elements in
value . |
double |
componentsPerAttribute
A number between 1 and 4 that defines the number of components in an attributes.
|
double |
normalize
When true and componentDatatype is an integer format, indicate that the components should be mapped to the
range [0, 1] (unsigned) or [-1, 1] (signed) when they are accessed as floating-point for rendering.
|
double[] |
value
The values for the attributes stored in a typed array.
|
Constructor and Description |
---|
GeometryInstanceAttribute(GeometryInstanceAttributeOptions options)
Values and type information for per-instance geometry attributes.
|
@JsProperty public ComponentDatatype componentDatatype
value
.
Default: undefined@JsProperty public double componentsPerAttribute
@JsProperty public double normalize
ComponentDatatype.UNSIGNED_BYTE()
.
Default: false@JsProperty public double[] value
@JsConstructor public GeometryInstanceAttribute(GeometryInstanceAttributeOptions options)
options
- GeometryInstanceAttributeOptions
ColorGeometryInstanceAttribute
,
ShowGeometryInstanceAttribute
,
DistanceDisplayConditionGeometryInstanceAttribute
Copyright © 2019. All rights reserved.