rhodonite 0.14.5 → 0.15.0

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/VERSION-FILE CHANGED
@@ -1,2 +1,2 @@
1
- v0.14.5-0-gd2902b70d-dirty
1
+ v0.15.0-0-g79019ac91-dirty
2
2
  main
@@ -3406,6 +3406,7 @@ declare class AABB {
3406
3406
  */
3407
3407
  declare class LightComponent extends Component {
3408
3408
  type: EnumIO;
3409
+ private __color;
3409
3410
  private __intensity;
3410
3411
  private readonly __initialDirection;
3411
3412
  private __direction;
@@ -3431,8 +3432,10 @@ declare class LightComponent extends Component {
3431
3432
  get componentTID(): ComponentTID;
3432
3433
  get updateCount(): number;
3433
3434
  get direction(): Vector3;
3434
- set intensity(value: Vector3);
3435
- get intensity(): Vector3;
3435
+ set intensity(value: number);
3436
+ get intensity(): number;
3437
+ set color(value: Vector3);
3438
+ get color(): Vector3;
3436
3439
  get _up(): Vector3;
3437
3440
  set isLightGizmoVisible(flg: boolean);
3438
3441
  get isLightGizmoVisible(): boolean;
@@ -5551,6 +5554,7 @@ interface IAnimatedValue {
5551
5554
  getAnimationSampler(trackName: AnimationTrackName): AnimationSampler;
5552
5555
  deleteAnimationSampler(trackName: AnimationTrackName): void;
5553
5556
  setFloat32Array(array: Float32Array): void;
5557
+ getNumberArray(): number[];
5554
5558
  }
5555
5559
 
5556
5560
  /**
@@ -11610,6 +11614,7 @@ declare class AnimatedScalar extends Scalar$1 implements IScalar, IAnimatedValue
11610
11614
  private __lastTime;
11611
11615
  isLoop: boolean;
11612
11616
  constructor(animationSamplers: AnimationSamplers, activeAnimationTrackName: AnimationTrackName);
11617
+ getNumberArray(): number[];
11613
11618
  setFloat32Array(array: Float32Array): void;
11614
11619
  setTime(time: number): void;
11615
11620
  useGlobalTime(): void;
@@ -11640,6 +11645,7 @@ declare class AnimatedVector2 extends Vector2 implements IVector2, IAnimatedValu
11640
11645
  private __lastTime;
11641
11646
  isLoop: boolean;
11642
11647
  constructor(animationSamplers: AnimationSamplers, activeAnimationTrackName: AnimationTrackName);
11648
+ getNumberArray(): number[];
11643
11649
  setFloat32Array(array: Float32Array): void;
11644
11650
  setTime(time: number): void;
11645
11651
  useGlobalTime(): void;
@@ -11672,6 +11678,7 @@ declare class AnimatedVector3 extends Vector3 implements IVector3, IAnimatedValu
11672
11678
  private __lastTime;
11673
11679
  isLoop: boolean;
11674
11680
  constructor(animationSamplers: AnimationSamplers, activeAnimationTrackName: AnimationTrackName);
11681
+ getNumberArray(): number[];
11675
11682
  setFloat32Array(array: Float32Array): void;
11676
11683
  setTime(time: number): void;
11677
11684
  useGlobalTime(): void;
@@ -11704,6 +11711,7 @@ declare class AnimatedVector4 extends Vector4 implements IVector4, IAnimatedValu
11704
11711
  private __lastTime;
11705
11712
  isLoop: boolean;
11706
11713
  constructor(animationSamplers: AnimationSamplers, activeAnimationTrackName: AnimationTrackName);
11714
+ getNumberArray(): number[];
11707
11715
  setFloat32Array(array: Float32Array): void;
11708
11716
  setTime(time: number): void;
11709
11717
  useGlobalTime(): void;
@@ -11767,6 +11775,7 @@ declare class AnimatedQuaternion extends Quaternion implements IQuaternion, IAni
11767
11775
  private __lastTime;
11768
11776
  isLoop: boolean;
11769
11777
  constructor(animationSamplers: AnimationSamplers, activeAnimationTrackName: AnimationTrackName);
11778
+ getNumberArray(): number[];
11770
11779
  setFloat32Array(array: Float32Array): void;
11771
11780
  setTime(time: number): void;
11772
11781
  useGlobalTime(): void;
@@ -12486,7 +12495,7 @@ declare function createLightWithCameraEntity(): ILightEntity & ICameraEntityMeth
12486
12495
  * type of animation.channel.target.path in glTF2
12487
12496
  * See: https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html#_animation_channels
12488
12497
  */
12489
- type AnimationPathName = 'undefined' | 'translate' | 'quaternion' | 'scale' | 'weights' | 'material' | 'effekseer';
12498
+ type AnimationPathName = 'undefined' | 'translate' | 'quaternion' | 'scale' | 'weights' | 'material' | 'light_color' | 'light_intensity' | 'light_range' | 'light_spot_innerConeAngle' | 'light_spot_outerConeAngle' | 'camera_znear' | 'camera_zfar' | 'camera_fovy' | 'camera_xmag' | 'camera_ymag' | 'effekseer';
12490
12499
  type AnimationTrackName = string;
12491
12500
  interface AnimationInfo {
12492
12501
  name: AnimationTrackName;
@@ -15646,6 +15655,10 @@ declare class ModelConverter {
15646
15655
  */
15647
15656
  static _setupAnimation(gltfModel: RnM2, rnEntities: ISceneGraphEntity[], rnBuffers: Buffer[], rootGroup: ISceneGraphEntity, rnMaterials: Material[]): void;
15648
15657
  private static __setPointerAnimation;
15658
+ private static __setPointerAnimationCameras;
15659
+ private static __setPointerAnimationLights;
15660
+ private static __setPointerAnimationNodes;
15661
+ private static __setPointerAnimationMaterials;
15649
15662
  private static __setNormalAnimation;
15650
15663
  static _setupSkeleton(gltfModel: RnM2, rnEntities: ISceneGraphEntity[], rnBuffers: Buffer[]): void;
15651
15664
  private static __setupObjects;