CorridorGeometry

A description of a corridor. Corridor geometry can be rendered with both Primitive and GroundPrimitive.

const corridor = new CorridorGeometry({
vertexFormat : VertexFormat.POSITION_ONLY,
positions : Cartesian3.fromDegreesArray([-72.0, 40.0, -70.0, 35.0]),
width : 100000
});

See also

Constructors

Link copied to clipboard

Types

Link copied to clipboard
external object Companion
Link copied to clipboard
external interface ConstructorOptions

Properties

Link copied to clipboard
external val packedLength: Int

The number of elements used to pack the object into an array.