|
@@ -15708,7 +15708,7 @@ var BABYLON;
|
|
|
/** @ignore */
|
|
|
this._isDisposed = false;
|
|
|
/**
|
|
|
- * Gets a list of {BABYLON.Animation} associated with the node
|
|
|
+ * Gets a list of Animations associated with the node
|
|
|
*/
|
|
|
this.animations = new Array();
|
|
|
this._ranges = {};
|
|
@@ -21576,6 +21576,7 @@ var BABYLON;
|
|
|
"use strict";
|
|
|
var BABYLON;
|
|
|
(function (BABYLON) {
|
|
|
+ /** @ignore */
|
|
|
var ClickInfo = /** @class */ (function () {
|
|
|
function ClickInfo() {
|
|
|
this._singleClick = false;
|
|
@@ -21665,12 +21666,27 @@ var BABYLON;
|
|
|
*/
|
|
|
function Scene(engine) {
|
|
|
// Members
|
|
|
+ /**
|
|
|
+ * Gets or sets a boolean that indicates if the scene must clear the render buffer before rendering a frame
|
|
|
+ */
|
|
|
this.autoClear = true;
|
|
|
+ /**
|
|
|
+ * Gets or sets a boolean that indicates if the scene must clear the depth and stencil buffers before rendering a frame
|
|
|
+ */
|
|
|
this.autoClearDepthAndStencil = true;
|
|
|
+ /**
|
|
|
+ * Defines the color used to clear the render buffer (Default is (0.2, 0.2, 0.3, 1.0))
|
|
|
+ */
|
|
|
this.clearColor = new BABYLON.Color4(0.2, 0.2, 0.3, 1.0);
|
|
|
+ /**
|
|
|
+ * Defines the color used to simulate the ambient color (Default is (0, 0, 0))
|
|
|
+ */
|
|
|
this.ambientColor = new BABYLON.Color3(0, 0, 0);
|
|
|
this._forceWireframe = false;
|
|
|
this._forcePointsCloud = false;
|
|
|
+ /**
|
|
|
+ * Gets or sets a boolean indicating if all rendering must be done in point cloud
|
|
|
+ */
|
|
|
this.forceShowBoundingBoxes = false;
|
|
|
this.animationsEnabled = true;
|
|
|
this.useConstantAnimationDeltaTime = false;
|
|
@@ -21682,6 +21698,10 @@ var BABYLON;
|
|
|
* in order to block unwanted artifacts like system double clicks
|
|
|
*/
|
|
|
this.preventDefaultOnPointerDown = true;
|
|
|
+ /**
|
|
|
+ * Gets a list of Animations associated with the node
|
|
|
+ */
|
|
|
+ this.animations = new Array();
|
|
|
// Metadata
|
|
|
this.metadata = null;
|
|
|
/**
|
|
@@ -22100,6 +22120,9 @@ var BABYLON;
|
|
|
get: function () {
|
|
|
return this._forceWireframe;
|
|
|
},
|
|
|
+ /**
|
|
|
+ * Gets or sets a boolean indicating if all rendering must be done in wireframe
|
|
|
+ */
|
|
|
set: function (value) {
|
|
|
if (this._forceWireframe === value) {
|
|
|
return;
|
|
@@ -22114,6 +22137,9 @@ var BABYLON;
|
|
|
get: function () {
|
|
|
return this._forcePointsCloud;
|
|
|
},
|
|
|
+ /**
|
|
|
+ * Gets or sets a boolean indicating if all rendering must be done in point cloud
|
|
|
+ */
|
|
|
set: function (value) {
|
|
|
if (this._forcePointsCloud === value) {
|
|
|
return;
|
|
@@ -25987,7 +26013,15 @@ var BABYLON;
|
|
|
Scene._FOGMODE_EXP2 = 2;
|
|
|
Scene._FOGMODE_LINEAR = 3;
|
|
|
Scene._uniqueIdCounter = 0;
|
|
|
+ /**
|
|
|
+ * Gets or sets the minimum deltatime when deterministic lock step is enabled
|
|
|
+ * @see http://doc.babylonjs.com/babylon101/animations#deterministic-lockstep
|
|
|
+ */
|
|
|
Scene.MinDeltaTime = 1.0;
|
|
|
+ /**
|
|
|
+ * Gets or sets the maximum deltatime when deterministic lock step is enabled
|
|
|
+ * @see http://doc.babylonjs.com/babylon101/animations#deterministic-lockstep
|
|
|
+ */
|
|
|
Scene.MaxDeltaTime = 1000.0;
|
|
|
/** The distance in pixel that you have to move to prevent some events */
|
|
|
Scene.DragMovementThreshold = 10; // in pixels
|