Properties:
Name | Type | Attributes | Description |
---|---|---|---|
id |
string |
<optional> |
이 개체의 고유 식별자입니다. 아무것도 제공되지 않으면 GUID가 생성됩니다. A unique identifier for this object. If none is provided, a GUID is generated. |
name |
string |
<optional> |
사용자에게 표시할 사람이 읽을 수 있는 이름입니다. 고유할 필요는 없습니다. A human readable name to display to users. It does not have to be unique. |
availability |
TimeIntervalCollection |
<optional> |
The availability, if any, associated with this object. |
show |
boolean |
<optional> |
이 객체와 연관된 가용성(있는 경우)입니다. A boolean value indicating if the entity and its children are displayed. |
description |
Property | string |
<optional> |
이 엔터티에 대한 HTML 설명을 지정하는 문자열 속성입니다. A string Property specifying an HTML description for this entity. |
position |
PositionProperty | Cartesian3 |
<optional> |
엔터티 위치를 지정하는 속성입니다. A Property specifying the entity position. |
orientation |
Property |
<optional> |
엔터티 방향을 지정하는 속성입니다. A Property specifying the entity orientation. |
scale |
Property |
<optional> |
엔터티 규모를 지정하는 Scale입니다. A Scale specifying the entity scale. |
viewFrom |
Property |
<optional> |
이 객체를 보기 위한 제안된 초기 오프셋입니다. A suggested initial offset for viewing this object. |
parent |
Entity |
<optional> |
이 엔터티와 연결할 상위 엔터티입니다. A parent entity to associate with this entity. |
billboard |
BillboardGraphics | BillboardGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 빌보드입니다. A billboard to associate with this entity. |
box |
BoxGraphics | BoxGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 박스입니다. A box to associate with this entity. |
corridor |
CorridorGraphics | CorridorGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 corridor입니다. A corridor to associate with this entity. |
cylinder |
CylinderGraphics | CylinderGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 원통입니다. A cylinder to associate with this entity. |
ellipse |
EllipseGraphics | EllipseGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 타원입니다. A ellipse to associate with this entity. |
ellipsoid |
EllipsoidGraphics | EllipsoidGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 타원체입니다. A ellipsoid to associate with this entity. |
label |
LabelGraphics | LabelGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 라벨입니다. A label to associate with this entity. |
model |
ModelGraphics | ModelGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 모델입니다. A model to associate with this entity. |
tileset |
Cesium3DTilesetGraphics | Cesium3DTilesetGraphics.ConstructorOptions |
<optional> |
이 개체와 연결할 3D 타일 세트입니다. A 3D Tiles tileset to associate with this entity. |
path |
PathGraphics | PathGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 경로입니다. A path to associate with this entity. |
plane |
PlaneGraphics | PlaneGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 평면입니다. A plane to associate with this entity. |
point |
PointGraphics | PointGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 지점입니다. A point to associate with this entity. |
polygon |
PolygonGraphics | PolygonGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 다각형입니다. A polygon to associate with this entity. |
polyline |
PolylineGraphics | PolylineGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 폴리라인입니다. A polyline to associate with this entity. |
properties |
PropertyBag | Object.<string, *> |
<optional> |
이 엔터티와 연결할 임의 속성입니다. Arbitrary properties to associate with this entity. |
polylineVolume |
PolylineVolumeGraphics | PolylineVolumeGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 폴리라인 볼륨입니다. A polylineVolume to associate with this entity. |
rectangle |
RectangleGraphics | RectangleGraphics.ConstructorOptions |
<optional> |
이 엔터티와 연결할 직사각형입니다. A rectangle to associate with this entity. |
wall |
WallGraphics | WallGraphics.ConstructorOptions |
<optional> |
이 개체와 연결할 벽입니다. A wall to associate with this entity. |
Extends
Members
availability : TimeIntervalCollection|undefined
The availability, if any, associated with this object.
If availability is undefined, it is assumed that this object's
other properties will return valid data for any provided time.
If availability exists, the objects other properties will only
provide valid data if queried within the given interval.
- Inherited From:
billboard : BillboardGraphics|undefined
Gets or sets the billboard.
- Inherited From:
box : BoxGraphics|undefined
Gets or sets the box.
- Inherited From:
corridor : CorridorGraphics|undefined
Gets or sets the corridor.
- Inherited From:
cylinder : CylinderGraphics|undefined
Gets or sets the cylinder.
- Inherited From:
readonly definitionChanged : Event
Gets the event that is raised whenever a property or sub-property is changed or modified.
- Inherited From:
description : Property|undefined
Gets or sets the description.
- Inherited From:
ellipse : EllipseGraphics|undefined
Gets or sets the ellipse.
- Inherited From:
ellipsoid : EllipsoidGraphics|undefined
Gets or sets the ellipsoid.
- Inherited From:
entityCollection : EntityCollection
Gets or sets the entity collection that this entity belongs to.
- Inherited From:
Gets the unique ID associated with this object.
- Inherited From:
Gets whether this entity is being displayed, taking into account
the visibility of any ancestor entities.
- Inherited From:
label : LabelGraphics|undefined
Gets or sets the label.
- Inherited From:
model : ModelGraphics|undefined
Gets or sets the model.
- Inherited From:
Gets or sets the name of the object. The name is intended for end-user
consumption and does not need to be unique.
- Inherited From:
orientation : Property|undefined
Gets or sets the orientation in respect to Earth-fixed-Earth-centered (ECEF).
Defaults to east-north-up at entity position.
- Inherited From:
parent : Entity|undefined
Gets or sets the parent object.
- Inherited From:
path : PathGraphics|undefined
Gets or sets the path.
- Inherited From:
plane : PlaneGraphics|undefined
Gets or sets the plane.
- Inherited From:
point : PointGraphics|undefined
Gets or sets the point graphic.
- Inherited From:
polygon : PolygonGraphics|undefined
Gets or sets the polygon.
- Inherited From:
polyline : PolylineGraphics|undefined
Gets or sets the polyline.
- Inherited From:
polylineVolume : PolylineVolumeGraphics|undefined
Gets or sets the polyline volume.
- Inherited From:
position : PositionProperty|undefined
Gets or sets the position.
- Inherited From:
properties : PropertyBag|undefined
Gets or sets the bag of arbitrary properties associated with this entity.
- Inherited From:
Gets the names of all properties registered on this instance.
- Inherited From:
rectangle : RectangleGraphics|undefined
Gets or sets the rectangle.
- Inherited From:
scale : Property|undefined
Gets or sets the scale.
- Inherited From:
Gets or sets whether this entity should be displayed. When set to true,
the entity is only displayed if the parent entity's show property is also true.
- Inherited From:
tileset : Cesium3DTilesetGraphics|undefined
Gets or sets the tileset.
- Inherited From:
trackingReferenceFrame : TrackingReferenceFrame
Gets or sets the entity's tracking reference frame.
- Inherited From:
Demo:
viewFrom : Property|undefined
Gets or sets the suggested initial offset when tracking this object.
The offset is typically defined in the east-north-up reference frame,
but may be another frame depending on the object's velocity.
- Inherited From:
wall : WallGraphics|undefined
Gets or sets the wall.
- Inherited From:
Methods
Adds a property to this object. Once a property is added, it can be
observed with
Entity#definitionChanged
and composited
with CompositeEntityCollection
Name | Type | Description |
---|---|---|
propertyName |
string | The name of the property to add. |
Throws:
-
DeveloperError : "propertyName" is a reserved property name.
-
DeveloperError : "propertyName" is already a registered property.
- Inherited From:
computeModelMatrix(time, result) → Matrix4
Computes the model matrix for the entity's transform at specified time. Returns undefined if position is undefined
Name | Type | Description |
---|---|---|
time |
JulianDate | The time to retrieve model matrix for. |
result |
Matrix4 | optional The object onto which to store the result. |
Returns:
The modified result parameter or a new Matrix4 instance if one was not provided. Result is undefined if position is undefined.
Given a time, returns true if this object should have data during that time.
Name | Type | Description |
---|---|---|
time |
JulianDate | The time to check availability for. |
Returns:
true if the object should have data during the provided time, false otherwise.
- Inherited From:
Assigns each unassigned property on this object to the value
of the same property on the provided source object.
Name | Type | Description |
---|---|---|
source |
Entity | The object to be merged into this object. |
- Inherited From:
Removed a property previously added with addProperty.
Name | Type | Description |
---|---|---|
propertyName |
string | The name of the property to remove. |
Throws:
-
DeveloperError : "propertyName" is a reserved property name.
-
DeveloperError : "propertyName" is not a registered property.
- Inherited From: