public class CorridorPrimitive extends AbstractPrimitive
AbstractPrimitive.Destroy, AbstractPrimitive.GetGeometry, AbstractPrimitive.UpdatecreatePrimitive, destroy, ellipsoid, getGeometry, granularity, options, updateclassificationType, debugShowBoundingVolume, debugShowShadowVolume, showappearance, cull, geometryInstances, modelMatrix, shadows| Constructor and Description |
|---|
CorridorPrimitive(Scene scene,
CorridorPrimitiveOptions options) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getGeodesic() |
Cartesian3[] |
getPositions() |
double |
getWidth() |
void |
setGeodesic(boolean geodesic) |
void |
setPositions(Cartesian3[] positions) |
void |
setWidth(double width) |
getAttribute, getGeometry, initialize, isDestroyer, same, setAttributeallowPicking, asynchronous, compressVertices, geometryInstances, initializeTerrainHeights, interleave, isSupported, ready, readyPromise, releaseGeometryInstances, supportsMaterials, vertexCacheOptimizedestroy, getGeometryInstanceAttributes, isDestroyed, updatepublic CorridorPrimitive(Scene scene, CorridorPrimitiveOptions options)
public Cartesian3[] getPositions()
public void setPositions(Cartesian3[] positions)
public double getWidth()
public void setWidth(double width)
public boolean getGeodesic()
public void setGeodesic(boolean geodesic)
Copyright © 2019. All rights reserved.