@needle-tools/engine 2.26.0-pre → 2.26.1-pre

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/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ All notable changes to this package will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [2.26.1-pre] - 2022-10-05
8
+ - Fix animating ``activeSelf`` on GameObject in canvas hierarchy
9
+ - Fix SpectatorCam component
10
+ - Fix WebXRController raycast line being rendered as huge line before first world hit
11
+
7
12
  ## [2.26.0-pre] - 2022-10-05
8
13
  - Add: experimental AlignmentConstraint and OffsetConstraint
9
14
  - Remove: MeshCollider script since it is not supported yet
@@ -896,8 +896,6 @@ declare module "engine-components/Renderer" {
896
896
  get lightmap(): Texture | null;
897
897
  set lightmap(tex: Texture | null | undefined);
898
898
  get hasLightmap(): boolean;
899
- get activeSelf(): boolean;
900
- set activeSelf(val: boolean | number);
901
899
  awake(): void;
902
900
  private _isInstancingEnabled;
903
901
  private handles;
@@ -1912,18 +1910,15 @@ declare module "engine-components/AvatarLoader" {
1912
1910
  rigthHand: THREE.Object3D | null;
1913
1911
  get isValid(): boolean;
1914
1912
  constructor(root: THREE.Object3D, head: THREE.Object3D, leftHand: THREE.Object3D | null, rigthHand: THREE.Object3D | null);
1915
- assignRandomColors(): void;
1916
1913
  }
1917
1914
  export class AvatarLoader {
1918
1915
  private readonly avatarRegistryUrl;
1919
- private avatarModelCache;
1920
1916
  getOrCreateNewAvatarInstance(context: Context, avatarId: string | THREE.Object3D): Promise<AvatarModel | null>;
1921
1917
  private loadAvatar;
1922
1918
  private cacheModel;
1923
1919
  private findAvatar;
1924
1920
  private findAvatarPart;
1925
1921
  private handleCustomAvatarErrors;
1926
- static assignRandomPlayerColors(model: AvatarModel): void;
1927
1922
  }
1928
1923
  }
1929
1924
  declare module "engine/engine_addressables" {
@@ -3869,13 +3864,12 @@ declare module "engine-components/SpectatorCamera" {
3869
3864
  cam: Camera | null;
3870
3865
  private _firstPersonMode;
3871
3866
  get firstPersonMode(): boolean;
3872
- set firstPersonMode(_val: boolean);
3867
+ set firstPersonMode(val: boolean);
3873
3868
  enableFirstPersonMode(): void;
3874
3869
  enableThirdPersonMode(): void;
3875
3870
  private orbit;
3876
3871
  private firstPersonFollow;
3877
3872
  private spectatorUIDomElement;
3878
- private _avatar;
3879
3873
  private eventSub_WebXRRequestStartEvent;
3880
3874
  private eventSub_WebXRStartEvent;
3881
3875
  private eventSub_WebXREndEvent;
@@ -3888,7 +3882,6 @@ declare module "engine-components/SpectatorCamera" {
3888
3882
  private onXRSessionStart;
3889
3883
  private onXRSessionEnded;
3890
3884
  private _sessionHasStarted;
3891
- private _isFirstStart;
3892
3885
  private _firstPersonIsSetup;
3893
3886
  private _orbitStartPos;
3894
3887
  private _orbitStartRot;
@@ -3896,6 +3889,7 @@ declare module "engine-components/SpectatorCamera" {
3896
3889
  private _orbitStartRot2;
3897
3890
  onAfterRender(): void;
3898
3891
  private setupFollowMode;
3892
+ private updateFollowSettings;
3899
3893
  private setAvatarFlagsBeforeRender;
3900
3894
  private resetAvatarFlags;
3901
3895
  }