@JsType(isNative=true, namespace="<global>", name="Object") public class GeometryInstanceAttributeOptions extends Object
Modifier and Type | Field and Description |
---|---|
ComponentDatatype |
componentDatatype
The datatype of each component in the attribute, e.g., individual elements in values.
|
double |
componentsPerAttribute
A number between 1 and 4 that defines the number of components in an attributes.
|
boolean |
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 value for the attribute.
|
Constructor and Description |
---|
GeometryInstanceAttributeOptions()
Options for
GeometryInstanceAttribute |
@JsProperty public ComponentDatatype componentDatatype
@JsProperty public double componentsPerAttribute
@JsProperty public boolean normalize
@JsProperty public double[] value
@JsConstructor public GeometryInstanceAttributeOptions()
GeometryInstanceAttribute
Copyright © 2019. All rights reserved.