Skip to content

Commit

Permalink
add info about orientation default
Browse files Browse the repository at this point in the history
  • Loading branch information
anne-gropler authored and pupitetris committed Mar 4, 2024
1 parent 877bd16 commit b29c8ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- Fixed a bug where transforms that had been defined with the `KHR_texture_transform` extension had not been applied to Property Textures in `EXT_structural_metadata`. [#11708](https://github.com/CesiumGS/cesium/issues/11708)
- Fixed improper scaling of ellipsoid inner radii in 3D mode. [#11656](https://github.com/CesiumGS/cesium/issues/11656) and [#10245](https://github.com/CesiumGS/cesium/issues/10245)
- Fixed a bug where transforms that had been defined with the `KHR_texture_transform` extension had not been applied to Feature ID Textures in `EXT_mesh_features`. [#11731](https://github.com/CesiumGS/cesium/issues/11731)
- Fixed `Entity` documentation for `orientation` property. [#11762](https://github.com/CesiumGS/cesium/pull/11762)

#### @cesium/widgets

Expand Down
5 changes: 3 additions & 2 deletions packages/engine/Source/DataSources/Entity.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function createPropertyTypeDescriptor(name, Type) {
* @property {boolean} [show] A boolean value indicating if the entity and its children are displayed.
* @property {Property | string} [description] A string Property specifying an HTML description for this entity.
* @property {PositionProperty | Cartesian3} [position] A Property specifying the entity position.
* @property {Property} [orientation] A Property specifying the entity orientation.
* @property {Property} [orientation=Transforms.eastNorthUpToFixedFrame(position)] A Property specifying the entity orientation in respect to Earth-fixed-Earth-centered (ECEF). If undefined, east-north-up at entity position is used.
* @property {Property} [viewFrom] A suggested initial offset for viewing this object.
* @property {Entity} [parent] A parent entity to associate with this entity.
* @property {BillboardGraphics | BillboardGraphics.ConstructorOptions} [billboard] A billboard to associate with this entity.
Expand Down Expand Up @@ -413,7 +413,8 @@ Object.defineProperties(Entity.prototype, {
*/
tileset: createPropertyTypeDescriptor("tileset", Cesium3DTilesetGraphics),
/**
* Gets or sets the orientation.
* Gets or sets the orientation in respect to Earth-fixed-Earth-centered (ECEF).
* Defaults to east-north-up at entity position.
* @memberof Entity.prototype
* @type {Property|undefined}
*/
Expand Down

0 comments on commit b29c8ea

Please sign in to comment.