From 9dc49295b1ec1befb595be99d0942239cce996df Mon Sep 17 00:00:00 2001 From: Maksims Mihejevs Date: Mon, 4 May 2020 02:21:23 +0300 Subject: [PATCH] stop > end, for API consistency --- src/xr/xr-light-estimation.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xr/xr-light-estimation.js b/src/xr/xr-light-estimation.js index 76902ad4767..74344c4ef85 100644 --- a/src/xr/xr-light-estimation.js +++ b/src/xr/xr-light-estimation.js @@ -130,10 +130,10 @@ Object.assign(pc, function () { /** * @function - * @name pc.XrLightEstimation#stop - * @description Stop estimation of illimunation data. + * @name pc.XrLightEstimation#end + * @description End estimation of illimunation data. */ - XrLightEstimation.prototype.stop = function () { + XrLightEstimation.prototype.end = function () { this._lightProbeRequested = false; this._lightProbe = null; this._available = false;