laymur 0.2.15 → 0.2.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,8 +5,10 @@ export declare class UIProgressMaterial extends ShaderMaterial {
5
5
  getProgress(): number;
6
6
  getBackgroundTexture(): Texture | undefined;
7
7
  getForegroundTexture(): Texture;
8
+ getColor(): number;
8
9
  getBackgroundColor(): number;
9
10
  getForegroundColor(): number;
11
+ getOpacity(): number;
10
12
  getBackgroundOpacity(): number;
11
13
  getForegroundOpacity(): number;
12
14
  getTransparency(): boolean;
@@ -15,8 +17,10 @@ export declare class UIProgressMaterial extends ShaderMaterial {
15
17
  setProgress(value: number): void;
16
18
  setBackgroundTexture(value: Texture | undefined): void;
17
19
  setForegroundTexture(value: Texture): void;
20
+ setColor(value: number): void;
18
21
  setBackgroundColor(value: number): void;
19
22
  setForegroundColor(value: number): void;
23
+ setOpacity(value: number): void;
20
24
  setBackgroundOpacity(value: number): void;
21
25
  setForegroundOpacity(value: number): void;
22
26
  setTransparency(value: boolean): this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "laymur",
3
- "version": "0.2.15",
3
+ "version": "0.2.17",
4
4
  "description": "Lightweight Three.js UI toolkit mainly for mobile ads",
5
5
  "scripts": {
6
6
  "clean": "rm -rf dist",