mx3d 2024.12.5-1 → 2025.3.2-1.1
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.
- package/index.d.ts +9 -7
- package/mx3d.min.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -125,17 +125,18 @@ declare module 'mx3d' {
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
export class Environment {
|
|
128
|
-
app
|
|
129
|
-
lights
|
|
130
|
-
_color
|
|
131
|
-
background
|
|
132
|
-
reflexEnabled
|
|
133
|
-
reflexIntensity
|
|
128
|
+
private app;
|
|
129
|
+
private lights;
|
|
130
|
+
private _color;
|
|
131
|
+
private background;
|
|
132
|
+
private reflexEnabled;
|
|
133
|
+
private reflexIntensity;
|
|
134
134
|
constructor(_app: App);
|
|
135
135
|
setTransparent(_visibility?: number): void;
|
|
136
136
|
default(): void;
|
|
137
137
|
set fogDistance(_value: number);
|
|
138
|
-
|
|
138
|
+
setfogColor(_value: string): void;
|
|
139
|
+
set color(_value: string);
|
|
139
140
|
reflex(url: string, intensity: number): void;
|
|
140
141
|
setBackground(url: string): void;
|
|
141
142
|
setReflexEnabled(_reflexEnabled: boolean): void;
|
|
@@ -814,6 +815,7 @@ declare module 'mx3d' {
|
|
|
814
815
|
baseModel: baseModel;
|
|
815
816
|
customNumber: string;
|
|
816
817
|
customType: string;
|
|
818
|
+
autoSight: boolean;
|
|
817
819
|
Sight: Sight;
|
|
818
820
|
instance: Runtime.Mesh | Runtime.InstancedMesh;
|
|
819
821
|
position: Runtime.Vector3;
|