Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babylonjs/controls

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babylonjs/controls - npm Package Compare versions

Comparing version 1.0.0-alpha.12 to 1.0.0-alpha.13

6

dist/src/coreControls/baseControl.d.ts

@@ -1,2 +0,2 @@

import { Engine } from "@babylonjs/core/Engines/engine";
import { ThinEngine } from "@babylonjs/core/Engines/thinEngine";
/**

@@ -13,3 +13,3 @@ * Represents a the base class of any Babylon.js controls.

*/
readonly engine: Engine;
readonly engine: ThinEngine;
/**

@@ -26,3 +26,3 @@ * Gets the current Babylon.js engine used by the control.

*/
constructor(parent: BaseControl | Engine | HTMLCanvasElement);
constructor(parent: BaseControl | ThinEngine | HTMLCanvasElement);
/**

@@ -29,0 +29,0 @@ * Dispose all the associated resources with WebGL.

@@ -1,2 +0,2 @@

import { Engine } from "@babylonjs/core/Engines/engine";
import { ThinEngine } from "@babylonjs/core/Engines/thinEngine";
/**

@@ -18,5 +18,5 @@ * Represents a the base class of any Babylon.js controls.

this._canvas = parent;
this._engine = new Engine(this._canvas, false);
this._engine = new ThinEngine(this._canvas, false);
}
else if (parent instanceof Engine) {
else if (parent instanceof ThinEngine) {
this._canvas = parent.getRenderingCanvas();

@@ -23,0 +23,0 @@ this._engine = parent;

import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";
import { Engine } from "@babylonjs/core/Engines/engine";
import { ThinEngine } from "@babylonjs/core/Engines/thinEngine";
/**

@@ -13,2 +13,2 @@ * Converts heterogenous texture types to a Babylon.js usable texture.

*/
export declare function elementToTexture(engine: Engine, textureData: BaseTexture | HTMLCanvasElement | HTMLVideoElement | string, name: string, generateMipMaps?: boolean, filteringType?: number, invertY?: boolean): BaseTexture;
export declare function elementToTexture(engine: ThinEngine, textureData: BaseTexture | HTMLCanvasElement | HTMLVideoElement | string, name: string, generateMipMaps?: boolean, filteringType?: number, invertY?: boolean): BaseTexture;

@@ -1,2 +0,2 @@

import { Engine } from "@babylonjs/core/Engines/engine";
import { ThinEngine } from "@babylonjs/core/Engines/thinEngine";
import { EffectWrapper } from "@babylonjs/core/Materials/effectRenderer";

@@ -38,3 +38,3 @@ import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";

*/
constructor(parent: BaseControl | Engine | HTMLCanvasElement, options?: IImageFilterOptions);
constructor(parent: BaseControl | ThinEngine | HTMLCanvasElement, options?: IImageFilterOptions);
/**

@@ -41,0 +41,0 @@ * This will filter the input and directly displays the result in the output.

@@ -1,2 +0,2 @@

import { Engine } from "@babylonjs/core/Engines/engine";
import { ThinEngine } from "@babylonjs/core/Engines/thinEngine";
import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";

@@ -23,3 +23,3 @@ import { BaseControl } from "../coreControls/baseControl";

*/
constructor(parent: BaseControl | Engine | HTMLCanvasElement);
constructor(parent: BaseControl | ThinEngine | HTMLCanvasElement);
/**

@@ -26,0 +26,0 @@ * Dispose all the associated resources with WebGL.

@@ -1,2 +0,2 @@

import { Engine } from "@babylonjs/core/Engines/engine";
import { ThinEngine } from "@babylonjs/core/Engines/thinEngine";
import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";

@@ -111,3 +111,3 @@ import { BaseControl } from "../coreControls/baseControl";

*/
constructor(parent: BaseControl | Engine | HTMLCanvasElement, options: ITimelineOptions);
constructor(parent: BaseControl | ThinEngine | HTMLCanvasElement, options: ITimelineOptions);
/**

@@ -114,0 +114,0 @@ * Starts rendering the timeline in the canvas.

{
"name": "@babylonjs/controls",
"version": "1.0.0-alpha.12",
"version": "1.0.0-alpha.13",
"description": "Babylon.js controls are a set of regular web controls that used hardware accelerated rendering through Babylon.js to provide blazing fast dedicated controls.",

@@ -41,3 +41,3 @@ "author": {

"devDependencies": {
"@babylonjs/core": "^4.1.0-alpha.17",
"@babylonjs/core": "^4.1.0-alpha.23",
"ts-loader": "^5.3.3",

@@ -50,4 +50,4 @@ "typescript": "^3.4.5",

"peerDependencies": {
"@babylonjs/core": ">=4.1.0-alpha.17"
"@babylonjs/core": ">=4.1.0-alpha.23"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc