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

babylonjs-gui

Package Overview
Dependencies
Maintainers
1
Versions
641
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babylonjs-gui - npm Package Compare versions

Comparing version 3.2.0-alpha9 to 3.2.0-alphaA

17

babylon.gui.d.ts

@@ -35,2 +35,3 @@

private _idealHeight;
private _useSmallestIdeal;
private _renderAtIdealSize;

@@ -44,2 +45,3 @@ private _focusedControl;

idealHeight: number;
useSmallestIdeal: boolean;
renderAtIdealSize: boolean;

@@ -232,2 +234,7 @@ readonly layer: Nullable<Layer>;

/**
* An event triggered when a control is clicked on
* @type {BABYLON.Observable}
*/
onPointerClickObservable: Observable<Vector2WithInfo>;
/**
* An event triggered when pointer enters the control

@@ -317,3 +324,3 @@ * @type {BABYLON.Observable}

_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): boolean;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
forcePointerUp(pointerId?: Nullable<number>): void;

@@ -503,3 +510,3 @@ _processObservables(type: number, x: number, y: number, pointerId: number, buttonIndex: number): boolean;

_onPointerMove(target: Control, coordinates: Vector2): void;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
}

@@ -718,3 +725,3 @@ }

_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): boolean;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
static CreateImageButton(name: string, text: string, imageUrl: string): Button;

@@ -762,3 +769,3 @@ static CreateImageOnlyButton(name: string, imageUrl: string): Button;

_onPointerMove(target: Control, coordinates: Vector2): void;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
}

@@ -811,3 +818,3 @@ }

_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): boolean;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
dispose(): void;

@@ -814,0 +821,0 @@ }

@@ -5,3 +5,3 @@ /// <reference types="babylonjs"/>

declare module 'babylonjs-gui' {
export = BABYLON.[object Object];
export = BABYLON.GUI;
}

@@ -42,2 +42,3 @@

private _idealHeight;
private _useSmallestIdeal;
private _renderAtIdealSize;

@@ -51,2 +52,3 @@ private _focusedControl;

idealHeight: number;
useSmallestIdeal: boolean;
renderAtIdealSize: boolean;

@@ -239,2 +241,7 @@ readonly layer: Nullable<Layer>;

/**
* An event triggered when a control is clicked on
* @type {BABYLON.Observable}
*/
onPointerClickObservable: Observable<Vector2WithInfo>;
/**
* An event triggered when pointer enters the control

@@ -324,3 +331,3 @@ * @type {BABYLON.Observable}

_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): boolean;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
forcePointerUp(pointerId?: Nullable<number>): void;

@@ -510,3 +517,3 @@ _processObservables(type: number, x: number, y: number, pointerId: number, buttonIndex: number): boolean;

_onPointerMove(target: Control, coordinates: Vector2): void;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
}

@@ -725,3 +732,3 @@ }

_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): boolean;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
static CreateImageButton(name: string, text: string, imageUrl: string): Button;

@@ -769,3 +776,3 @@ static CreateImageOnlyButton(name: string, imageUrl: string): Button;

_onPointerMove(target: Control, coordinates: Vector2): void;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
}

@@ -818,3 +825,3 @@ }

_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): boolean;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void;
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
dispose(): void;

@@ -821,0 +828,0 @@ }

@@ -7,3 +7,3 @@ {

"description": "The Babylon.js GUI library is an extension you can use to generate interactive user interface. It is build on top of the DynamicTexture.",
"version": "3.2.0-alpha9",
"version": "3.2.0-alphaA",
"repository": {

@@ -10,0 +10,0 @@ "type": "git",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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