Appearance
KBE3D / KBCore / Cesium / RectangleGraphics / ConstructorOptions
接口: ConstructorOptions
Initialization options for the RectangleGraphics constructor
属性
show?
optionalshow:boolean|Property
A boolean Property specifying the visibility of the rectangle.
coordinates?
The Property specifying the Rectangle.
height?
optionalheight:number|Property
A numeric Property specifying the altitude of the rectangle relative to the ellipsoid surface.
heightReference?
optionalheightReference:Property|HeightReference
A Property specifying what the height is relative to.
extrudedHeight?
optionalextrudedHeight:number|Property
A numeric Property specifying the altitude of the rectangle's extruded face relative to the ellipsoid surface.
extrudedHeightReference?
optionalextrudedHeightReference:Property|HeightReference
A Property specifying what the extrudedHeight is relative to.
rotation?
optionalrotation:number|Property
A numeric property specifying the rotation of the rectangle clockwise from north.
stRotation?
optionalstRotation:number|Property
A numeric property specifying the rotation of the rectangle texture counter-clockwise from north.
granularity?
optionalgranularity:number|Property
A numeric Property specifying the angular distance between points on the rectangle.
fill?
optionalfill:boolean|Property
A boolean Property specifying whether the rectangle is filled with the provided material.
material?
optionalmaterial:Color|MaterialProperty
A Property specifying the material used to fill the rectangle.
outline?
optionaloutline:boolean|Property
A boolean Property specifying whether the rectangle is outlined.
outlineColor?
A Property specifying the Color of the outline.
outlineWidth?
optionaloutlineWidth:number|Property
A numeric Property specifying the width of the outline.
shadows?
optionalshadows:Property|ShadowMode
An enum Property specifying whether the rectangle casts or receives shadows from light sources.
distanceDisplayCondition?
optionaldistanceDisplayCondition:Property|DistanceDisplayCondition
A Property specifying at what distance from the camera that this rectangle will be displayed.
classificationType?
optionalclassificationType:Property|ClassificationType
An enum Property specifying whether this rectangle will classify terrain, 3D Tiles, or both when on the ground.
zIndex?
optionalzIndex: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.
