Appearance
KBE3D / KBCore / Cesium / PolygonGraphics / ConstructorOptions
接口: ConstructorOptions
Initialization options for the PolygonGraphics constructor
属性
show?
optionalshow:boolean|Property
A boolean Property specifying the visibility of the polygon.
hierarchy?
optionalhierarchy:Property|Cartesian3[] |PolygonHierarchy
A Property specifying the PolygonHierarchy.
height?
optionalheight:number|Property
A numeric Property specifying the altitude of the polygon 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 polygon's extruded face relative to the ellipsoid surface.
extrudedHeightReference?
optionalextrudedHeightReference:Property|HeightReference
A Property specifying what the extrudedHeight is relative to.
stRotation?
optionalstRotation:number|Property
A numeric property specifying the rotation of the polygon texture counter-clockwise from north. Only has an effect if textureCoordinates is not defined.
granularity?
optionalgranularity:number|Property
A numeric Property specifying the angular distance between each latitude and longitude point.
fill?
optionalfill:boolean|Property
A boolean Property specifying whether the polygon is filled with the provided material.
material?
optionalmaterial:Color|MaterialProperty
A Property specifying the material used to fill the polygon.
outline?
optionaloutline:boolean|Property
A boolean Property specifying whether the polygon is outlined.
outlineColor?
A Property specifying the Color of the outline.
outlineWidth?
optionaloutlineWidth:number|Property
A numeric Property specifying the width of the outline.
perPositionHeight?
optionalperPositionHeight:boolean|Property
A boolean specifying whether or not the height of each position is used.
closeTop?
optionalcloseTop:boolean
When false, leaves off the top of an extruded polygon open.
closeBottom?
optionalcloseBottom:boolean
When false, leaves off the bottom of an extruded polygon open.
arcType?
The type of line the polygon edges must follow.
shadows?
optionalshadows:Property|ShadowMode
An enum Property specifying whether the polygon casts or receives shadows from light sources.
distanceDisplayCondition?
optionaldistanceDisplayCondition:Property|DistanceDisplayCondition
A Property specifying at what distance from the camera that this polygon will be displayed.
classificationType?
optionalclassificationType:Property|ClassificationType
An enum Property specifying whether this polygon will classify terrain, 3D Tiles, or both when on the ground.
zIndex?
optionalzIndex:number|ConstantProperty
A property specifying the zIndex used for ordering ground geometry. Only has an effect if the polygon is constant and neither height or extrudedHeight are specified.
textureCoordinates?
optionaltextureCoordinates:Property|PolygonHierarchy
A Property specifying texture coordinates as a PolygonHierarchy of Cartesian2 points. Has no effect for ground primitives.
