Skip to content

KBE3D / KBCore / Cesium / Entity / ConstructorOptions

接口: ConstructorOptions

Initialization options for the Entity constructor

属性

id?

optional id: string

A unique identifier for this object. If none is provided, a GUID is generated.


name?

optional name: string

A human readable name to display to users. It does not have to be unique.


availability?

optional availability: TimeIntervalCollection

The availability, if any, associated with this object.


show?

optional show: boolean

A boolean value indicating if the entity and its children are displayed.


trackingReferenceFrame?

optional trackingReferenceFrame: TrackingReferenceFrame

The reference frame used when this entity is being tracked. <br/> If <code>undefined</code>, reference frame is determined based on entity velocity: near-surface slow moving entities are tracked using the local east-north-up reference frame, whereas fast moving entities such as satellites are tracked using VVLH (Vehicle Velocity, Local Horizontal).


description?

optional description: string | Property

A string Property specifying an HTML description for this entity.


position?

optional position: Cartesian3 | PositionProperty | CallbackPositionProperty

A Property specifying the entity position.


orientation?

optional orientation: Property | Quaternion

A Property specifying the entity orientation in respect to Earth-fixed-Earth-centered (ECEF). If undefined, east-north-up at entity position is used.


viewFrom?

optional viewFrom: Property | Cartesian3

A suggested initial offset for viewing this object.


parent?

optional parent: Entity

A parent entity to associate with this entity.


billboard?

optional billboard: BillboardGraphics | ConstructorOptions

A billboard to associate with this entity.


box?

optional box: BoxGraphics | ConstructorOptions

A box to associate with this entity.


corridor?

optional corridor: CorridorGraphics | ConstructorOptions

A corridor to associate with this entity.


cylinder?

optional cylinder: CylinderGraphics | ConstructorOptions

A cylinder to associate with this entity.


ellipse?

optional ellipse: EllipseGraphics | ConstructorOptions

A ellipse to associate with this entity.


ellipsoid?

optional ellipsoid: EllipsoidGraphics | ConstructorOptions

A ellipsoid to associate with this entity.


label?

optional label: LabelGraphics | ConstructorOptions

A options.label to associate with this entity.


model?

optional model: ModelGraphics | ConstructorOptions

A model to associate with this entity.


tileset?

optional tileset: Cesium3DTilesetGraphics | ConstructorOptions

A 3D Tiles tileset to associate with this entity.


path?

optional path: PathGraphics | ConstructorOptions

A path to associate with this entity.


plane?

optional plane: PlaneGraphics | ConstructorOptions

A plane to associate with this entity.


point?

optional point: PointGraphics | ConstructorOptions

A point to associate with this entity.


polygon?

optional polygon: PolygonGraphics | ConstructorOptions

A polygon to associate with this entity.


polyline?

optional polyline: PolylineGraphics | ConstructorOptions

A polyline to associate with this entity.


properties?

optional properties: PropertyBag | {[key: string]: any; }

Arbitrary properties to associate with this entity.


polylineVolume?

optional polylineVolume: PolylineVolumeGraphics | ConstructorOptions

A polylineVolume to associate with this entity.


rectangle?

optional rectangle: RectangleGraphics | ConstructorOptions

A rectangle to associate with this entity.


wall?

optional wall: WallGraphics | ConstructorOptions

A wall to associate with this entity.

KBE3D @3.0.0 Copyright © 2024-present KBE3D