public class CorridorPrimitive extends AbstractPrimitive
AbstractPrimitive.Destroy, AbstractPrimitive.GetGeometry, AbstractPrimitive.Update
createPrimitive, destroy, ellipsoid, getGeometry, granularity, options, update
classificationType, debugShowBoundingVolume, debugShowShadowVolume, show
appearance, 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, setAttribute
allowPicking, asynchronous, compressVertices, geometryInstances, initializeTerrainHeights, interleave, isSupported, ready, readyPromise, releaseGeometryInstances, supportsMaterials, vertexCacheOptimize
destroy, getGeometryInstanceAttributes, isDestroyed, update
public 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.