docstring_tokens
stringlengths
0
76.5k
code_tokens
stringlengths
75
1.81M
label_window
listlengths
4
2.12k
html_url
stringlengths
74
116
file_name
stringlengths
3
311
<mask> /** <mask> * Creates lines in a shape of circle/arc. <mask> * A segment is a part of the line between it's two points. <mask> * @param radiusX radiusX of the circle <mask> * @param radiusY radiusY of the circle - you can draw an oval if using different values <mask> * @param se...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1e324119fe6591d24be96fa505c9ec2210d8ae0a
packages/dev/core/src/Misc/greasedLineTools.ts
<mask> * A segment is a part of the line between it's two points. <mask> * @param radiusX radiusX of the circle <mask> * @param radiusY radiusY of the circle - you can draw an oval if using different values <mask> * @param segments number of segments in the circle <mask> * @param segmentAn...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1e324119fe6591d24be96fa505c9ec2210d8ae0a
packages/dev/core/src/Misc/greasedLineTools.ts
* @param radiusY radiusY of the circle - you can draw an oval if using different values * @param segmentAngle angle offset of the segments. Defaults to Math.PI * 2 / segments. Change this value to draw a part of the circle.
<mask> * @param segments number of segments in the circle <mask> * @param z z coordinate of the points. Defaults to 0. <mask> * @returns line points <mask> */ <mask> public static GetCircleLinePoints(radiusX: number, segments: number, z = 0, radiusY = radiusX, segmentAngle = (Math.PI * 2) /...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1e324119fe6591d24be96fa505c9ec2210d8ae0a
packages/dev/core/src/Misc/greasedLineTools.ts
<mask> return results; <mask> } <mask> <mask> public _checkDelayState(): void { <mask> var that = this; <mask> var scene = this.getScene(); <mask> <mask> if (this._geometry) { <mask> this._geometry.load(scene); <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1e9f80bca2ef57723ed4d5618b1e7894ed21312c
src/Mesh/babylon.mesh.ts
else if (this.delayLoadState === Engine.DELAYLOADSTATE_NOTLOADED) { this.delayLoadState = Engine.DELAYLOADSTATE_LOADING;
<mask> <mask> if (this._geometry) { <mask> this._geometry.load(scene); <mask> } <mask> else if (that.delayLoadState === Engine.DELAYLOADSTATE_NOTLOADED) { <mask> that.delayLoadState = Engine.DELAYLOADSTATE_LOADING; <mask> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1e9f80bca2ef57723ed4d5618b1e7894ed21312c
src/Mesh/babylon.mesh.ts
this._queueLoad(this, scene); } }
<mask> } <mask> else if (that.delayLoadState === Engine.DELAYLOADSTATE_NOTLOADED) { <mask> that.delayLoadState = Engine.DELAYLOADSTATE_LOADING; <mask> <mask> scene._addPendingData(that); <mask> <mask> var getBinaryData = (this.delayLoading...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1e9f80bca2ef57723ed4d5618b1e7894ed21312c
src/Mesh/babylon.mesh.ts
private _queueLoad(mesh: Mesh, scene: Scene): void { scene._addPendingData(mesh);
<mask> that.delayLoadState = Engine.DELAYLOADSTATE_LOADING; <mask> <mask> scene._addPendingData(that); <mask> <mask> var getBinaryData = (this.delayLoadingFile.indexOf(".babylonbinarymeshdata") !== -1); <mask> <mask> Tools.LoadFile(this.delayLoad...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1e9f80bca2ef57723ed4d5618b1e7894ed21312c
src/Mesh/babylon.mesh.ts
var getBinaryData = (this.delayLoadingFile.indexOf(".babylonbinarymeshdata") !== -1);
<mask> scene._addPendingData(that); <mask> <mask> var getBinaryData = (this.delayLoadingFile.indexOf(".babylonbinarymeshdata") !== -1); <mask> <mask> Tools.LoadFile(this.delayLoadingFile, data => { <mask> <mask> if (data instanceof ArrayBuffe...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1e9f80bca2ef57723ed4d5618b1e7894ed21312c
src/Mesh/babylon.mesh.ts
Tools.LoadFile(this.delayLoadingFile, data => {
<mask> var getBinaryData = (this.delayLoadingFile.indexOf(".babylonbinarymeshdata") !== -1); <mask> <mask> Tools.LoadFile(this.delayLoadingFile, data => { <mask> <mask> if (data instanceof ArrayBuffer) { <mask> this._delayLoadingFunctio...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1e9f80bca2ef57723ed4d5618b1e7894ed21312c
src/Mesh/babylon.mesh.ts
if (data instanceof ArrayBuffer) { this._delayLoadingFunction(data, this); } else { this._delayLoadingFunction(JSON.parse(data), this); } this.delayLoadState = Engine.DELAYLOADSTATE_LOADED; ...
<mask> else { <mask> this._delayLoadingFunction(JSON.parse(data), this); <mask> } <mask> <mask> this.delayLoadState = Engine.DELAYLOADSTATE_LOADED; <mask> scene._removePendingData(this); <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1e9f80bca2ef57723ed4d5618b1e7894ed21312c
src/Mesh/babylon.mesh.ts
/** * Initializes the range of an animation. * @param {string} name - The name of the animation range. * @param {number} from - The starting frame of the animation. * @param {number} to - The ending frame of the animation. */
<mask> * Represents the range of an animation. <mask> */ <mask> export class AnimationRange { <mask> constructor(public name: string, public from: number, public to: number) { <mask> } <mask> <mask> /** </s> Moved interpolation from runtimeAnimation to animation; Added doc...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Makes a copy of the animation range. * @returns {AnimationRange} - A copy of the animation range. */
<mask> */ <mask> constructor(public name: string, public from: number, public to: number) { <mask> } <mask> <mask> public clone(): AnimationRange { <mask> return new AnimationRange(this.name, this.from, this.to); <mask> } <mask> } </s> Moved interpolati...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Specifies if the animation event is done. */
<mask> */ <mask> export class AnimationEvent { <mask> public isDone: boolean = false; <mask> <mask> /** <mask> * This callback is an event to perform when triggered by a frame. <mask> * @callback actionCallback <mask> */ </s> Moved interpolation from runtime...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * This callback is an event to perform when triggered by a frame. * @callback actionCallback */ /** * Initializes the animation event. * @param {number} frame - The frame for which the event is triggered. * @param {actionCallback} acti...
<mask> */ <mask> public isDone: boolean = false; <mask> constructor(public frame: number, public action: () => void, public onlyOnce?: boolean) { <mask> } <mask> } <mask> </s> Moved interpolation from runtimeAnimation to animation; Added documentation Former-commit-id: 477...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * A cursor which tracks a point on a path. */
<mask> constructor(public frame: number, public action: () => void, public onlyOnce?: boolean) { <mask> } <mask> } <mask> <mask> export class PathCursor { <mask> /** <mask> * Stores path cursor callbacks for when an onchange event is triggered. <mask> */ <mask...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Stores path cursor callbacks for when an onchange event is triggered. */
<mask> /** <mask> * A cursor which tracks a point on a path. <mask> */ <mask> export class PathCursor { <mask> private _onchange = new Array<(cursor: PathCursor) => void>(); <mask> <mask> /** <mask> * The value of the path cursor. <mask> */ </s> Moved inter...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * The value of the path cursor. */
<mask> private _onchange = new Array<(cursor: PathCursor) => void>(); <mask> <mask> value: number = 0; <mask> <mask> /** <mask> * The animation array of the path cursor. <mask> */ <mask> animations = new Array<Animation>(); </s> Moved interpolation from runti...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * The animation array of the path cursor. */
<mask> * The value of the path cursor. <mask> */ <mask> value: number = 0; <mask> animations = new Array<Animation>(); <mask> <mask> /** <mask> * Initializes the path cursor. <mask> * @param path - The path to track. <mask> */ </s> Moved in...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Initializes the path cursor. * @param path - The path to track. */
<mask> * The animation array of the path cursor. <mask> */ <mask> animations = new Array<Animation>(); <mask> <mask> constructor(private path: Path2) { <mask> } <mask> <mask> /** <mask> * Gets the cursor point on the path. <mask> * @returns...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Gets the cursor point on the path. * @returns {Vector3} - A point on the path cursor at the cursor location. */
<mask> constructor(private path: Path2) { <mask> } <mask> <mask> public getPoint(): Vector3 { <mask> var point = this.path.getPointAtLengthPosition(this.value); <mask> return new Vector3(point.x, 0, point.y); <mask> } <mask> <mask> /** </s> Mov...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Moves the cursor ahead by the step amount. * @param {number} step - The amount to move the cursor forward. * @returns {PathCursor} - This path cursor. */
<mask> } <mask> <mask> public moveAhead(step: number = 0.002): PathCursor { <mask> this.move(step); <mask> <mask> return this; <mask> } <mask> </s> Moved interpolation from runtimeAnimation to animation; Added documentation Former-commit-id: 4772df80541e44ae...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Moves the cursor behind by the step amount. * @param {number} step - The amount to move the cursor back. * @returns {PathCursor} - This path cursor. */
<mask> } <mask> <mask> public moveBack(step: number = 0.002): PathCursor { <mask> this.move(-step); <mask> <mask> return this; <mask> } <mask> </s> Moved interpolation from runtimeAnimation to animation; Added documentation Former-commit-id: 4772df80541e44ae...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Moves the cursor by the step amount. * If the step amount is greater than one, an exception is thrown. * @param {number} step - The amount to move the cursor. * @returns {PathCursor} - This path cursor. */
<mask> } <mask> <mask> public move(step: number): PathCursor { <mask> <mask> if (Math.abs(step) > 1) { <mask> throw "step size should be less than 1."; </s> Moved interpolation from runtimeAnimation to animation; Added documentation Former-commit-id: 4772df80541e44...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Ensures that the value is limited between zero and one. * @returns {PathCursor} - This path cursor. */
<mask> } <mask> <mask> private ensureLimits(): PathCursor { <mask> while (this.value > 1) { <mask> this.value -= 1; <mask> } <mask> while (this.value < 0) { </s> Moved interpolation from runtimeAnimation to animation; Added documentation For...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Runs onchange callbacks on change. Used by the animation engine. * @returns {PathCursor} - This path cursor. */
<mask> <mask> return this; <mask> } <mask> <mask> // used by animation engine <mask> private raiseOnChange(): PathCursor { <mask> this._onchange.forEach(f => f(this)); <mask> <mask> return this; <mask> } </s> Moved interpolation from runt...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * This callback is performed when an onchange event is triggered in PathCursor. * @callback pathCursorCallback * @param {PathCursor} cursor - A cursor which tracks a point on a path. */ /** * Executes a function on change. * @param {path...
<mask> <mask> return this; <mask> } <mask> <mask> public onchange(f: (cursor: PathCursor) => void): PathCursor { <mask> this._onchange.push(f); <mask> <mask> return this; <mask> } <mask> } </s> Moved interpolation from runtimeAnimation to ani...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Defines an interface which represents an animation key frame. */
<mask> } <mask> <mask> export interface IAnimationKey { <mask> /** <mask> * Frame of the key frame. <mask> */ <mask> frame: number; <mask> /** </s> Moved interpolation from runtimeAnimation to animation; Added documentation Former-commit-id: 4772df80541e44ae...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Frame of the key frame. */
<mask> * Defines an interface which represents an animation key frame. <mask> */ <mask> export interface IAnimationKey { <mask> frame: number; <mask> /** <mask> * Value at the specifies key frame. <mask> */ <mask> value: any; <mask> /** </s> Move...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Value at the specifies key frame. */
<mask> /** <mask> * Frame of the key frame. <mask> */ <mask> frame: number; <mask> value: any; <mask> /** <mask> * The input tangent for the cubic hermite spline. <mask> */ </s> Moved interpolation from runtimeAnimation to animation; Added doc...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * The input tangent for the cubic hermite spline. */
<mask> */ <mask> value: any; <mask> inTangent?: any; <mask> /** <mask> * The output tangent for the cubic hermite spline. <mask> */ <mask> outTangent?: any; <mask> /** </s> Moved interpolation from runtimeAnimation to animation; Added documenta...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * The output tangent for the cubic hermite spline. */
<mask> */ <mask> inTangent?: any; <mask> outTangent?: any; <mask> /** <mask> * The animation interpolation type. <mask> */ <mask> interpolation?: AnimationKeyInterpolation; </s> Moved interpolation from runtimeAnimation to animation; Added documentation...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * The animation interpolation type. */
<mask> */ <mask> outTangent?: any; <mask> interpolation?: AnimationKeyInterpolation; <mask> } <mask> <mask> /** <mask> * Enum for the animation key frame interpolation type. <mask> */ </s> Moved interpolation from runtimeAnimation to animation; Added documentation ...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Enum for the animation key frame interpolation type. */
<mask> } <mask> <mask> export enum AnimationKeyInterpolation { <mask> /** <mask> * Do not interpolate between keys and use the start key value only. Tangents are ignored. <mask> */ </s> Moved interpolation from runtimeAnimation to animation; Added documentation Former-commit-...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Stores the key frames of the animation. */
<mask> * When matrix interpolation is enabled, this boolean forces the system to use Matrix.DecomposeLerp instead of Matrix.Lerp. Interpolation is more precise but slower <mask> */ <mask> public static AllowMatrixDecomposeForInterpolation = true; <mask> <mask> private _keys: Arra...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Stores the easing function of the animation. */
<mask> */ <mask> private _keys: Array<IAnimationKey>; <mask> private _easingFunction: IEasingFunction; <mask> <mask> /** <mask> * Stores the runtime animations of the animation. </s> Moved interpolation from runtimeAnimation to animation; Added documentation Former-co...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Stores the runtime animations of the animation. */
<mask> */ <mask> private _easingFunction: IEasingFunction; <mask> <mask> public _runtimeAnimations = new Array<RuntimeAnimation>(); <mask> <mask> /** <mask> * The set of event that will be linked to this animation. <mask> */ </s> Moved interpolation from run...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * The set of event that will be linked to this animation. */
<mask> private _easingFunction: IEasingFunction; <mask> <mask> public _runtimeAnimations = new Array<RuntimeAnimation>(); <mask> <mask> // The set of event that will be linked to this animation <mask> private _events = new Array<AnimationEvent>(); <mask> <mask> public ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Stores an array of target property paths. */
<mask> private _events = new Array<AnimationEvent>(); <mask> <mask> public targetPropertyPath: string[]; <mask> <mask> /** <mask> * Stores the blending speed of the animation. </s> Moved interpolation from runtimeAnimation to animation; Added documentation Former-commit-id: 4...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Stores the blending speed of the animation. */
<mask> public targetPropertyPath: string[]; <mask> <mask> public blendingSpeed = 0.01; <mask> <mask> /** <mask> * Stores the animation ranges for the animation. </s> Moved interpolation from runtimeAnimation to animation; Added documentation Former-commit-id: 4772df80541e44ae...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Stores the animation ranges for the animation. */
<mask> */ <mask> public blendingSpeed = 0.01; <mask> <mask> private _ranges: { [name: string]: Nullable<AnimationRange> } = {}; <mask> <mask> /** <mask> * Gets the animation initialized. </s> Moved interpolation from runtimeAnimation to animation; Added documentation ...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Gets the animation initialized. * @param name - Name of the animation. * @param targetProperty - The property targeted by the animation. * @param framePerSecond - The frames per second of the animation. * @param totalFrame - The total number of frames in t...
<mask> public blendingSpeed = 0.01; <mask> <mask> private _ranges: { [name: string]: Nullable<AnimationRange> } = {}; <mask> <mask> static _PrepareAnimation(name: string, targetProperty: string, framePerSecond: number, totalFrame: number, <mask> from: any, to: any, loopMode?:...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
* @param property The property to animate. * @param animationType The animation type to apply. * @param easingFunction The easing function used in the animation. * @returns {Animation} The created animation.
<mask> } <mask> <mask> /** <mask> * Sets up an animation. <mask> * @param property the property to animate <mask> * @param animationType the animation type to apply <mask> * @param easingFunction the easing function used in the animation <mask> * @returns The created animation <...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
* @returns {Nullable<Animatable>} the animatable created for this animation
<mask> * @param {any} to defines the final value <mask> * @param {number} loopMode defines which loop mode you want to use (off by default) <mask> * @param {BABYLON.EasingFunction} easingFunction defines the easing function to use (linear by default) <mask> * @param onAnimationEn...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * This callback is triggered when the animation has completed. * @callback - onAnimationEndCallback */
<mask> return node.getScene().beginDirectAnimation(node, [animation], 0, totalFrame, (animation.loopMode === 1), 1.0, onAnimationEnd); <mask> } <mask> <mask> /** <mask> * Create and start an animation on a node and its descendants <mask> * @param {string} name define...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
* @param {onAnimationEndCallback | undefined} onAnimationEnd defines the callback to call when an animation ends (will be called once per node) * @returns {Nullable<Animatable[]>} the list of animatables created for all nodes
<mask> * @param {any} from defines the initial value <mask> * @param {any} to defines the final value <mask> * @param {number} loopMode defines which loop mode you want to use (off by default) <mask> * @param {BABYLON.EasingFunction} easingFunction defines the easing function to ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Creates a new animation, merges it with the existing animations and starts it. * @param {string} name - Name of the animation. * @param {Node} node - Node which contains the scene that begins the animations. * @param {string} targetProperty - Specifies which proper...
<mask> let scene = node.getScene(); <mask> return scene.beginDirectHierarchyAnimation(node, directDescendantsOnly, [animation], 0, totalFrame, (animation.loopMode === 1), 1.0, onAnimationEnd); <mask> } <mask> <mask> public static CreateMergeAndStartAnimation(name: string, n...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
* @param {string} property The property to transition * @param {any} targetValue The target Value of the property * @param {any} host The object where the property to animate belongs * @param {Scene} scene Scene used to run the animation * @param {number} frameRate Framerate (in fra...
<mask> } <mask> <mask> /** <mask> * Transition property of the Camera to the target Value. <mask> * @param property The property to transition <mask> * @param targetValue The target Value of the property <mask> * @param host The object where the property to animate belongs <ma...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
* Return the array of runtime animations currently using this animation.
<mask> return animation; <mask> } <mask> <mask> /** <mask> * Return the array of runtime animations currently using this animation <mask> */ <mask> public get runtimeAnimations(): RuntimeAnimation[] { <mask> return this._runtimeAnimations; <mas...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Specifies if any of the runtime animations are currently running. */
<mask> } <mask> <mask> public get hasRunningRuntimeAnimations(): boolean { <mask> for (var runtimeAnimation of this._runtimeAnimations) { <mask> if (!runtimeAnimation.isStopped) { <mask> return true; <mask> } </s> Moved interpolati...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Initializes the animation. * @param {string} name - Name of the animation. * @param {string} targetProperty - Property to animate. * @param {number} framePerSecond - The frames per second of the animation. * @param {number} dataType - The data type of the ...
<mask> } <mask> <mask> constructor(public name: string, public targetProperty: string, public framePerSecond: number, public dataType: number, public loopMode?: number, public enableBlending?: boolean) { <mask> this.targetPropertyPath = targetProperty.split("."); <mask> thi...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
* @returns {string} - String form of the animation.
<mask> /** <mask> * @param {boolean} fullDetails - support for multiple levels of logging within scene loading <mask> */ <mask> public toString(fullDetails?: boolean): string { <mask> var ret = "Name: " + this.name + ", property: " + this.targetProperty; <mask> ...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
* @param {number} frame - The frame to remove events from.
<mask> } <mask> <mask> /** <mask> * Remove all events found at the given frame <mask> * @param frame <mask> */ <mask> public removeEvents(frame: number): void { <mask> for (var index = 0; index < this._events.length; index++) { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Retrieves all the events from the animation. * @returns {AnimationEvent[]} - Events from the animation. */
<mask> } <mask> } <mask> } <mask> <mask> public getEvents(): AnimationEvent[] { <mask> return this._events; <mask> } <mask> <mask> /** </s> Moved interpolation from runtimeAnimation to animation; Added documentation Former-commit-id: ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Creates an animation range. * @param {string} name - Name of the animation range. * @param {number} from - Starting frame of the animation range. * @param {number} to - Ending frame of the animation. */
<mask> } <mask> <mask> public createRange(name: string, from: number, to: number): void { <mask> // check name not already in use; could happen for bones after serialized <mask> if (!this._ranges[name]) { <mask> this._ranges[name] = new AnimationRange(name,...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Deletes an animation range by name. * @param {string} name - Name of the animation range to delete. * @param {boolean} deleteFrames - Specifies if the key frames for the range should also be deleted (true) or not (false). */
<mask> } <mask> } <mask> <mask> public deleteRange(name: string, deleteFrames = true): void { <mask> let range = this._ranges[name]; <mask> if (!range) { <mask> return; <mask> </s> Moved interpolation from runtimeAnimation to animation; Adde...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Gets the animation range by name, or null if not defined. * @param {string} name - Name of the animation range. * @returns {Nullable<AnimationRange>}- Nullable animation range. */
<mask> } <mask> <mask> public getRange(name: string): Nullable<AnimationRange> { <mask> return this._ranges[name]; <mask> } <mask> <mask> /** <mask> * Gets the key frames from the animation. </s> Moved interpolation from runtimeAnimation to animation; Adde...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Gets the key frames from the animation. * @returns {Array<IAnimationKey>} - The key frames of the animation. */
<mask> public getRange(name: string): Nullable<AnimationRange> { <mask> return this._ranges[name]; <mask> } <mask> <mask> <mask> public getKeys(): Array<IAnimationKey> { <mask> return this._keys; <mask> } <mask> <mask> public getHighestFrame()...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Gets the highest frame rate of the animation. * @returns {number} - Highest frame rate of the animation. */
<mask> public getKeys(): Array<IAnimationKey> { <mask> return this._keys; <mask> } <mask> <mask> public getHighestFrame(): number { <mask> var ret = 0; <mask> <mask> for (var key = 0, nKeys = this._keys.length; key < nKeys; key++) { </s> Moved inter...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Gets the easing function of the animation. * @returns {IEasingFunction} - Easing function of the animation. */ public getEasingFunction(): IEasingFunction {
<mask> } <mask> return ret; <mask> } <mask> <mask> public getEasingFunction() { <mask> return this._easingFunction; <mask> } <mask> <mask> public setEasingFunction(easingFunction: EasingFunction) { <mask> this._easingFunction = ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Sets the easing function of the animation * @param {EasingFunction} easingFunction - A custom mathematical formula for animation. */ public setEasingFunction(easingFunction: EasingFunction): void {
<mask> public getEasingFunction() { <mask> return this._easingFunction; <mask> } <mask> <mask> public setEasingFunction(easingFunction: EasingFunction) { <mask> this._easingFunction = easingFunction; <mask> } <mask> <mask> public floatInterpolat...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Interpolates a scalar linearly. * @param {number} startValue - Start value of the animation curve. * @param {number} endValue - End value of the animation curve. * @param {number} gradient - Scalar amount to interpolate. * @returns {number} - Interpolated ...
<mask> this._easingFunction = easingFunction; <mask> } <mask> <mask> public floatInterpolateFunction(startValue: number, endValue: number, gradient: number): number { <mask> return Scalar.Lerp(startValue, endValue, gradient); <mask> } <mask> <mask> /** ...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Interpolates a scalar cubically. * @param {number} startValue - Start value of the animation curve. * @param {number} outTangent - End tangent of the animation. * @param {number} endValue - End value of the animation curve. * @param {number} inTangent - S...
<mask> return Scalar.Lerp(startValue, endValue, gradient); <mask> } <mask> <mask> public floatInterpolateFunctionWithTangents(startValue: number, outTangent: number, endValue: number, inTangent: number, gradient: number): number { <mask> return Scalar.Hermite(startValue, ou...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Interpolates a quaternion using a spherical linear interpolation. * @param {Quaternion} startValue - Start value of the animation curve. * @param {Quaternion} endValue - End value of the animation curve. * @param {number} gradient - Scalar amount to interpolate. ...
<mask> public floatInterpolateFunctionWithTangents(startValue: number, outTangent: number, endValue: number, inTangent: number, gradient: number): number { <mask> return Scalar.Hermite(startValue, outTangent, endValue, inTangent, gradient); <mask> } <mask> <mask> public quatern...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Interpolates a quaternion cubically. * @param {Quaternion} startValue - Start value of the animation curve. * @param {Quaternion} outTangent - End tangent of the animation curve. * @param {Quaternion} endValue - End value of the animation curve. * @param {...
<mask> } <mask> <mask> public quaternionInterpolateFunctionWithTangents(startValue: Quaternion, outTangent: Quaternion, endValue: Quaternion, inTangent: Quaternion, gradient: number): Quaternion { <mask> return Quaternion.Hermite(startValue, outTangent, endValue, inTangent, gradient).no...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Interpolates a Vector3 linearly. * @param {Vector3} startValue - Start value of the animation curve. * @param {Vector3} endValue - End value of the animation curve. * @param {number} gradient - Scalar amount to interpolate. * @returns {Vector3} - Interpola...
<mask> return Quaternion.Hermite(startValue, outTangent, endValue, inTangent, gradient).normalize(); <mask> } <mask> <mask> public vector3InterpolateFunction(startValue: Vector3, endValue: Vector3, gradient: number): Vector3 { <mask> return Vector3.Lerp(startValue, endValue...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Interpolates a Vector3 cubically. * @param {Vector3} startValue - Start value of the animation curve. * @param {Vector3} outTangent - End tangent of the animation. * @param {Vector3} endValue - End value of the animation curve. * @param {Vector3} inTangen...
<mask> return Vector3.Lerp(startValue, endValue, gradient); <mask> } <mask> <mask> public vector3InterpolateFunctionWithTangents(startValue: Vector3, outTangent: Vector3, endValue: Vector3, inTangent: Vector3, gradient: number): Vector3 { <mask> return Vector3.Hermite(start...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Interpolates a Vector2 linearly. * @param {Vector2} startValue - Start value of the animation curve. * @param {Vector2} endValue - End value of the animation curve. * @param {number} gradient - Scalar amount to interpolate. * @returns {Vector2} - Interpola...
<mask> public vector3InterpolateFunctionWithTangents(startValue: Vector3, outTangent: Vector3, endValue: Vector3, inTangent: Vector3, gradient: number): Vector3 { <mask> return Vector3.Hermite(startValue, outTangent, endValue, inTangent, gradient); <mask> } <mask> <mask> public...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Interpolates a Vector2 cubically. * @param {Vector2} startValue - Start value of the animation curve. * @param {Vector2} outTangent - End tangent of the animation. * @param {Vector2} endValue - End value of the animation curve. * @param {Vector2} inTangen...
<mask> public vector2InterpolateFunction(startValue: Vector2, endValue: Vector2, gradient: number): Vector2 { <mask> return Vector2.Lerp(startValue, endValue, gradient); <mask> } <mask> <mask> public vector2InterpolateFunctionWithTangents(startValue: Vector2, outTangent: Vector...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Interpolates a size linearly. * @param {Size} startValue - Start value of the animation curve. * @param {Size} endValue - End value of the animation curve. * @param {number} gradient - Scalar amount to interpolate. * @returns {Size} - Interpolated Size val...
<mask> } <mask> <mask> public sizeInterpolateFunction(startValue: Size, endValue: Size, gradient: number): Size { <mask> return Size.Lerp(startValue, endValue, gradient); <mask> } <mask> <mask> /** <mask> * Interpolates a Color3 linearly. </s> Moved interp...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Interpolates a Color3 linearly. * @param {Color3} startValue - Start value of the animation curve. * @param {Color3} endValue - End value of the animation curve. * @param {number} gradient - Scalar amount to interpolate. * @returns {Color3} - Interpolated ...
<mask> return Size.Lerp(startValue, endValue, gradient); <mask> } <mask> <mask> public color3InterpolateFunction(startValue: Color3, endValue: Color3, gradient: number): Color3 { <mask> return Color3.Lerp(startValue, endValue, gradient); <mask> } <mask> </s> Mov...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
* @param {Matrix} startValue defines the start matrix * @param {Matrix} endValue defines the end matrix * @param {number} gradient defines the gradient between both matrices * @param {Matrix} result defines an optional target matrix where to store the interpolation * @r...
<mask> } <mask> <mask> /** <mask> * Defines the function to use to interpolate matrices <mask> * @param startValue defines the start matrix <mask> * @param endValue defines the end matrix <mask> * @param gradient defines the gradient between both matrices <m...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Makes a copy of the animation. * @returns {Animation} - Cloned animation. */
<mask> return Matrix.Lerp(startValue, endValue, gradient); <mask> } <mask> <mask> public clone(): Animation { <mask> var clone = new Animation(this.name, this.targetPropertyPath.join("."), this.framePerSecond, this.dataType, this.loopMode); <mask> <mask> clon...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Sets the key frames of the animation. * @param values - The animation key frames to set. */
<mask> } <mask> <mask> public setKeys(values: Array<IAnimationKey>): void { <mask> this._keys = values.slice(0); <mask> } <mask> <mask> /** </s> Moved interpolation from runtimeAnimation to animation; Added documentation Former-commit-id: 4772df80541e44ae2d4059751...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Serializes the animation to an object. * @returns {any} - Serialized object. */
<mask> } <mask> <mask> public serialize(): any { <mask> var serializationObject: any = {}; <mask> <mask> serializationObject.name = this.name; </s> Moved interpolation from runtimeAnimation to animation; Added documentation Former-commit-id: 4772df80541e44ae2d405975133...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Float animation type. */
<mask> return serializationObject; <mask> } <mask> <mask> // Statics <mask> private static _ANIMATIONTYPE_FLOAT = 0; <mask> /** <mask> * Vector3 animation type. <mask> */ </s> Moved interpolation from runtimeAnimation to animation; Added documentat...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Vector3 animation type. */
<mask> * Float animation type. <mask> */ <mask> private static _ANIMATIONTYPE_FLOAT = 0; <mask> private static _ANIMATIONTYPE_VECTOR3 = 1; <mask> /** <mask> * Quaternion animation type. <mask> */ </s> Moved interpolation from runtimeAnimation to animat...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Quaternion animation type. */
<mask> * Vector3 animation type. <mask> */ <mask> private static _ANIMATIONTYPE_VECTOR3 = 1; <mask> private static _ANIMATIONTYPE_QUATERNION = 2; <mask> /** <mask> * Matrix animation type. <mask> */ <mask> private static _ANIMATIONTYPE_MATRIX =...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Matrix animation type. */
<mask> /** <mask> * Quaternion animation type. <mask> */ <mask> private static _ANIMATIONTYPE_QUATERNION = 2; <mask> private static _ANIMATIONTYPE_MATRIX = 3; <mask> /** <mask> * Color3 animation type. <mask> */ </s> Moved interpolation from r...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Color3 animation type. */
<mask> */ <mask> private static _ANIMATIONTYPE_MATRIX = 3; <mask> private static _ANIMATIONTYPE_COLOR3 = 4; <mask> /** <mask> * Vector2 animation type. <mask> */ <mask> private static _ANIMATIONTYPE_VECTOR2 = 5; <mask> /** </s> Moved interpolat...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Vector2 animation type. */
<mask> /** <mask> * Color3 animation type. <mask> */ <mask> private static _ANIMATIONTYPE_COLOR3 = 4; <mask> private static _ANIMATIONTYPE_VECTOR2 = 5; <mask> /** <mask> * Size animation type. <mask> */ <mask> private static _ANIMATION...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Size animation type. */
<mask> */ <mask> private static _ANIMATIONTYPE_VECTOR2 = 5; <mask> private static _ANIMATIONTYPE_SIZE = 6; <mask> /** <mask> * Relative Loop Mode. <mask> */ <mask> private static _ANIMATIONLOOPMODE_RELATIVE = 0; <mask> /** </s> Moved interpolat...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Relative Loop Mode. */
<mask> /** <mask> * Size animation type. <mask> */ <mask> private static _ANIMATIONTYPE_SIZE = 6; <mask> private static _ANIMATIONLOOPMODE_RELATIVE = 0; <mask> /** <mask> * Cycle Loop Mode. <mask> */ </s> Moved interpolation from runtimeAnimat...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Cycle Loop Mode. */
<mask> * Relative Loop Mode. <mask> */ <mask> private static _ANIMATIONLOOPMODE_RELATIVE = 0; <mask> private static _ANIMATIONLOOPMODE_CYCLE = 1; <mask> /** <mask> * Constant Loop Mode. <mask> */ <mask> private static _ANIMATIONLOOPMODE_CONSTAN...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Constant Loop Mode. */
<mask> /** <mask> * Cycle Loop Mode. <mask> */ <mask> private static _ANIMATIONLOOPMODE_CYCLE = 1; <mask> private static _ANIMATIONLOOPMODE_CONSTANT = 2; <mask> <mask> /** <mask> * Get the float animation type. <mask> */ <mask> publi...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Get the float animation type. */
<mask> * Constant Loop Mode. <mask> */ <mask> private static _ANIMATIONLOOPMODE_CONSTANT = 2; <mask> <mask> public static get ANIMATIONTYPE_FLOAT(): number { <mask> return Animation._ANIMATIONTYPE_FLOAT; <mask> } <mask> <mask> /** <mask> ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Get the Vector3 animation type. */
<mask> } <mask> <mask> public static get ANIMATIONTYPE_VECTOR3(): number { <mask> return Animation._ANIMATIONTYPE_VECTOR3; <mask> } <mask> <mask> /** <mask> * Get the Vectpr2 animation type. </s> Moved interpolation from runtimeAnimation to animation; Adde...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Get the Vectpr2 animation type. */
<mask> return Animation._ANIMATIONTYPE_VECTOR3; <mask> } <mask> <mask> public static get ANIMATIONTYPE_VECTOR2(): number { <mask> return Animation._ANIMATIONTYPE_VECTOR2; <mask> } <mask> <mask> /** </s> Moved interpolation from runtimeAnimation to anima...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Get the Size animation type. */
<mask> public static get ANIMATIONTYPE_VECTOR2(): number { <mask> return Animation._ANIMATIONTYPE_VECTOR2; <mask> } <mask> <mask> public static get ANIMATIONTYPE_SIZE(): number { <mask> return Animation._ANIMATIONTYPE_SIZE; <mask> } <mask> <mask> ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Get the Quaternion animation type. */
<mask> public static get ANIMATIONTYPE_SIZE(): number { <mask> return Animation._ANIMATIONTYPE_SIZE; <mask> } <mask> <mask> public static get ANIMATIONTYPE_QUATERNION(): number { <mask> return Animation._ANIMATIONTYPE_QUATERNION; <mask> } <mask> </s> Mo...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Get the Matrix animation type. */
<mask> } <mask> <mask> public static get ANIMATIONTYPE_MATRIX(): number { <mask> return Animation._ANIMATIONTYPE_MATRIX; <mask> } <mask> <mask> /** <mask> * Get the Color3 animation type. </s> Moved interpolation from runtimeAnimation to animation; Added d...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Get the Color3 animation type. */
<mask> return Animation._ANIMATIONTYPE_MATRIX; <mask> } <mask> <mask> public static get ANIMATIONTYPE_COLOR3(): number { <mask> return Animation._ANIMATIONTYPE_COLOR3; <mask> } <mask> </s> Moved interpolation from runtimeAnimation to animation; Added documentati...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Get the Relative Loop Mode. */
<mask> } <mask> <mask> public static get ANIMATIONLOOPMODE_RELATIVE(): number { <mask> return Animation._ANIMATIONLOOPMODE_RELATIVE; <mask> } <mask> <mask> /** </s> Moved interpolation from runtimeAnimation to animation; Added documentation Former-commit-id: 4772d...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Get the Cycle Loop Mode. */
<mask> public static get ANIMATIONLOOPMODE_RELATIVE(): number { <mask> return Animation._ANIMATIONLOOPMODE_RELATIVE; <mask> } <mask> <mask> public static get ANIMATIONLOOPMODE_CYCLE(): number { <mask> return Animation._ANIMATIONLOOPMODE_CYCLE; <mask> } <m...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Get the Constant Loop Mode. */
<mask> } <mask> <mask> public static get ANIMATIONLOOPMODE_CONSTANT(): number { <mask> return Animation._ANIMATIONLOOPMODE_CONSTANT; <mask> } <mask> <mask> /** <mask> * Parses an animation object and creates an animation. </s> Moved interpolation from runt...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Parses an animation object and creates an animation. * @param parsedAnimation - Parsed animation object. * @returns {Animation} - Animation object. */
<mask> return Animation._ANIMATIONLOOPMODE_CONSTANT; <mask> } <mask> <mask> public static Parse(parsedAnimation: any): Animation { <mask> var animation = new Animation(parsedAnimation.name, parsedAnimation.property, parsedAnimation.framePerSecond, parsedAnimation.dataType, ...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * Appends the serialized animations from the source animations. * @param {IAnimatable} source - Source containing the animations. * @param {any} destination - Target to store the animations. */ public static AppendSerializedAnimations(source: IAnimatable, de...
<mask> <mask> return animation; <mask> } <mask> <mask> public static AppendSerializedAnimations(source: IAnimatable, destination: any): any { <mask> if (source.animations) { <mask> destination.animations = []; <mask> for (var animationInd...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.animation.ts
/** * The current frame of the runtime animation. */
<mask> */ <mask> export class RuntimeAnimation { <mask> private _currentFrame: number = 0; <mask> <mask> /** <mask> * The animation used by the runtime animation. <mask> */ <mask> private _animation: Animation; </s> Moved interpolation from runtimeAnimation t...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.runtimeAnimation.ts
/** * The animation used by the runtime animation. */
<mask> * The current frame of the runtime animation. <mask> */ <mask> private _currentFrame: number = 0; <mask> private _animation: Animation; <mask> <mask> /** <mask> * The target of the runtime animation. <mask> */ <mask> private _t...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.runtimeAnimation.ts
/** * The target of the runtime animation. */
<mask> */ <mask> private _animation: Animation; <mask> private _target: any; <mask> <mask> /** <mask> * The initiating animatable. </s> Moved interpolation from runtimeAnimation to animation; Added documentation Former-commit-id: 4772df80541e44ae2d405975133b447eea85df...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.runtimeAnimation.ts
<mask> export class RuntimeAnimation { <mask> private _currentFrame: number = 0; <mask> private _animation: Animation; <mask> private _target: any; <mask> private _host: Animatable; <mask> <mask> private _originalValue: any; <mask> private _originalBlendValue...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/1fd093ab347635b54e4b818d17bb40fe486ffee9
src/Animations/babylon.runtimeAnimation.ts