Appearance
KBE3D / KBCore / Cesium / PlaneGraphics
类: PlaneGraphics
Describes a plane. The center position and orientation are determined by the containing Entity.
参数
Object describing initialization options
属性
definitionChanged
readonlydefinitionChanged:Event
Gets the event that is raised whenever a property or sub-property is changed or modified.
show
show:
Property|undefined
Gets or sets the boolean Property specifying the visibility of the plane.
plane
plane:
Property|undefined
Gets or sets the Plane Property specifying the normal and distance of the plane.
dimensions
dimensions:
Property|undefined
Gets or sets the Cartesian2 Property specifying the width and height of the plane.
fill
fill:
Property|undefined
Gets or sets the boolean Property specifying whether the plane is filled with the provided material.
material
material:
MaterialProperty
Gets or sets the material used to fill the plane.
outline
outline:
Property|undefined
Gets or sets the Property specifying whether the plane is outlined.
outlineColor
outlineColor:
Property|undefined
Gets or sets the Property specifying the Color of the outline.
outlineWidth
outlineWidth:
Property|undefined
Gets or sets the numeric Property specifying the width of the outline. <p> Note: This property will be ignored on all major browsers on Windows platforms. For details, see (@link https://github.com/CesiumGS/cesium/issues/40\}. </p>
shadows
shadows:
Property|undefined
Get or sets the enum Property specifying whether the plane casts or receives shadows from light sources.
distanceDisplayCondition
distanceDisplayCondition:
Property|undefined
Gets or sets the DistanceDisplayCondition Property specifying at what distance from the camera that this plane will be displayed.
方法
clone()
clone(
result?:PlaneGraphics):PlaneGraphics
Duplicates this instance.
参数
result?
PlaneGraphics
The object onto which to store the result.
返回
PlaneGraphics
The modified result parameter or a new instance if one was not provided.
merge()
merge(
source:PlaneGraphics):void
Assigns each unassigned property on this object to the value of the same property on the provided source object.
参数
source
PlaneGraphics
The object to be merged into this object.
返回
void
构造函数
构造函数
new PlaneGraphics(
options?:ConstructorOptions):PlaneGraphics
参数
options?
返回
PlaneGraphics
