@JsType(isNative=true, namespace="<global>", name="Object") public abstract class AbstractPrimitive extends GroundPrimitive
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractPrimitive.Destroy |
static interface |
AbstractPrimitive.GetGeometry |
static interface |
AbstractPrimitive.Update |
Modifier and Type | Field and Description |
---|---|
protected boolean |
createPrimitive
Flag for we ned create primitive
|
protected AbstractPrimitive.Destroy |
destroy
Override
Primitive.destroy() |
Ellipsoid |
ellipsoid |
protected AbstractPrimitive.GetGeometry |
getGeometry
Get geometry function to access pure java functional
|
double |
granularity |
AbstractPrimitiveOptions |
options |
protected AbstractPrimitive.Update |
update
Override
Primitive.update(Object) |
classificationType, debugShowBoundingVolume, debugShowShadowVolume, show
appearance, cull, geometryInstances, modelMatrix, shadows
Constructor and Description |
---|
AbstractPrimitive(AbstractPrimitiveOptions options) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String name) |
Geometry |
getGeometry() |
void |
initialize() |
boolean |
isDestroyer() |
boolean |
same() |
void |
setAttribute(String name,
Object value) |
allowPicking, asynchronous, compressVertices, geometryInstances, initializeTerrainHeights, interleave, isSupported, ready, readyPromise, releaseGeometryInstances, supportsMaterials, vertexCacheOptimize
destroy, getGeometryInstanceAttributes, isDestroyed, update
@JsProperty public Ellipsoid ellipsoid
@JsProperty public double granularity
@JsProperty public AbstractPrimitiveOptions options
@JsProperty protected boolean createPrimitive
@JsProperty protected AbstractPrimitive.Update update
Primitive.update(Object)
@JsProperty protected AbstractPrimitive.GetGeometry getGeometry
@JsProperty protected AbstractPrimitive.Destroy destroy
Primitive.destroy()
@JsConstructor public AbstractPrimitive(AbstractPrimitiveOptions options)
@JsOverlay public final void initialize()
@JsOverlay public final boolean isDestroyer()
@JsOverlay public final Geometry getGeometry()
@JsOverlay public final boolean same()
Copyright © 2019. All rights reserved.