Skip to content

KBE3D / KBCore / Cesium / RectangleGraphics / ConstructorOptions

接口: ConstructorOptions

Initialization options for the RectangleGraphics constructor

属性

show?

optional show: boolean | Property

A boolean Property specifying the visibility of the rectangle.


coordinates?

optional coordinates: Property | Rectangle

The Property specifying the Rectangle.


height?

optional height: number | Property

A numeric Property specifying the altitude of the rectangle relative to the ellipsoid surface.


heightReference?

optional heightReference: Property | HeightReference

A Property specifying what the height is relative to.


extrudedHeight?

optional extrudedHeight: number | Property

A numeric Property specifying the altitude of the rectangle's extruded face relative to the ellipsoid surface.


extrudedHeightReference?

optional extrudedHeightReference: Property | HeightReference

A Property specifying what the extrudedHeight is relative to.


rotation?

optional rotation: number | Property

A numeric property specifying the rotation of the rectangle clockwise from north.


stRotation?

optional stRotation: number | Property

A numeric property specifying the rotation of the rectangle texture counter-clockwise from north.


granularity?

optional granularity: number | Property

A numeric Property specifying the angular distance between points on the rectangle.


fill?

optional fill: boolean | Property

A boolean Property specifying whether the rectangle is filled with the provided material.


material?

optional material: Color | MaterialProperty

A Property specifying the material used to fill the rectangle.


outline?

optional outline: boolean | Property

A boolean Property specifying whether the rectangle is outlined.


outlineColor?

optional outlineColor: Color | Property

A Property specifying the Color of the outline.


outlineWidth?

optional outlineWidth: number | Property

A numeric Property specifying the width of the outline.


shadows?

optional shadows: Property | ShadowMode

An enum Property specifying whether the rectangle casts or receives shadows from light sources.


distanceDisplayCondition?

optional distanceDisplayCondition: Property | DistanceDisplayCondition

A Property specifying at what distance from the camera that this rectangle will be displayed.


classificationType?

optional classificationType: Property | ClassificationType

An enum Property specifying whether this rectangle will classify terrain, 3D Tiles, or both when on the ground.


zIndex?

optional zIndex: number | Property

A Property specifying the zIndex used for ordering ground geometry. Only has an effect if the rectangle is constant and neither height or extrudedHeight are specified.

KBE3D @3.0.0 Copyright © 2024-present KBE3D