diff --git a/CHANGES.md b/CHANGES.md index 23f398d74f67..b3502961cc5d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -13,6 +13,7 @@ - Fixed cube-mapping artifacts in image-based lighting. [#12100](https://github.com/CesiumGS/cesium/pull/12100) - Fixed specular reflection artifact in PBR direct lighting. [#12116](https://github.com/CesiumGS/cesium/pull/12116) - Added multiscattering terms to diffuse BRDF in image-based lighting. [#12118](https://github.com/CesiumGS/cesium/pull/12118) +- Fixed CallbackProperty type not being present on entity position. [#12120](https://github.com/CesiumGS/cesium/pull/12120) ##### Breaking Changes :mega: diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 3596f223f9dd..68682e18411b 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -392,3 +392,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to Cesiu - [Zhongxiang Wang](https://github.com/plainheart) - [Tim Schneider](https://github.com/Tim-S) - [Vladislav Yunev](https://github.com/YunVlad) +- [Levi Montgomery](https://github.com/Levi-Montgomery) diff --git a/packages/engine/Source/DataSources/Entity.js b/packages/engine/Source/DataSources/Entity.js index 998108671b35..42aad8019714 100644 --- a/packages/engine/Source/DataSources/Entity.js +++ b/packages/engine/Source/DataSources/Entity.js @@ -74,7 +74,7 @@ function createPropertyTypeDescriptor(name, Type) { * @property {TimeIntervalCollection} [availability] The availability, if any, associated with this object. * @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 {PositionProperty | Cartesian3 | CallbackProperty} [position] A Property specifying the entity position. * @property {Property | Quaternion} [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 | Cartesian3} [viewFrom] A suggested initial offset for viewing this object. * @property {Entity} [parent] A parent entity to associate with this entity.