|
@@ -99,6 +99,9 @@
|
|
public id: string;
|
|
public id: string;
|
|
|
|
|
|
@serialize()
|
|
@serialize()
|
|
|
|
+ public name: string;
|
|
|
|
+
|
|
|
|
+ @serialize()
|
|
public checkReadyOnEveryCall = false;
|
|
public checkReadyOnEveryCall = false;
|
|
|
|
|
|
@serialize()
|
|
@serialize()
|
|
@@ -206,7 +209,8 @@
|
|
private _cachedDepthWriteState: boolean;
|
|
private _cachedDepthWriteState: boolean;
|
|
|
|
|
|
|
|
|
|
- constructor(public name: string, scene: Scene, doNotAdd?: boolean) {
|
|
|
|
|
|
+ constructor(name: string, scene: Scene, doNotAdd?: boolean) {
|
|
|
|
+ this.name = name;
|
|
this.id = name;
|
|
this.id = name;
|
|
|
|
|
|
this._scene = scene;
|
|
this._scene = scene;
|