@babylonjs/core 5.55.0 → 5.56.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.
@@ -415,7 +415,7 @@ export declare class Effect implements IDisposable {
415
415
  * @param value Value to be set.
416
416
  * @returns this effect.
417
417
  */
418
- setInt: (uniformName: string, value: number) => Effect;
418
+ setInt(uniformName: string, value: number): Effect;
419
419
  /**
420
420
  * Sets an int2 value on a uniform variable.
421
421
  * @param uniformName Name of the variable.
@@ -423,7 +423,7 @@ export declare class Effect implements IDisposable {
423
423
  * @param y Second int in int2.
424
424
  * @returns this effect.
425
425
  */
426
- setInt2: (uniformName: string, x: number, y: number) => Effect;
426
+ setInt2(uniformName: string, x: number, y: number): Effect;
427
427
  /**
428
428
  * Sets an int3 value on a uniform variable.
429
429
  * @param uniformName Name of the variable.
@@ -432,7 +432,7 @@ export declare class Effect implements IDisposable {
432
432
  * @param z Third int in int3.
433
433
  * @returns this effect.
434
434
  */
435
- setInt3: (uniformName: string, x: number, y: number, z: number) => Effect;
435
+ setInt3(uniformName: string, x: number, y: number, z: number): Effect;
436
436
  /**
437
437
  * Sets an int4 value on a uniform variable.
438
438
  * @param uniformName Name of the variable.
@@ -442,42 +442,42 @@ export declare class Effect implements IDisposable {
442
442
  * @param w Fourth int in int4.
443
443
  * @returns this effect.
444
444
  */
445
- setInt4: (uniformName: string, x: number, y: number, z: number, w: number) => Effect;
445
+ setInt4(uniformName: string, x: number, y: number, z: number, w: number): Effect;
446
446
  /**
447
447
  * Sets an int array on a uniform variable.
448
448
  * @param uniformName Name of the variable.
449
449
  * @param array array to be set.
450
450
  * @returns this effect.
451
451
  */
452
- setIntArray: (uniformName: string, array: Int32Array) => Effect;
452
+ setIntArray(uniformName: string, array: Int32Array): Effect;
453
453
  /**
454
454
  * Sets an int array 2 on a uniform variable. (Array is specified as single array eg. [1,2,3,4] will result in [[1,2],[3,4]] in the shader)
455
455
  * @param uniformName Name of the variable.
456
456
  * @param array array to be set.
457
457
  * @returns this effect.
458
458
  */
459
- setIntArray2: (uniformName: string, array: Int32Array) => Effect;
459
+ setIntArray2(uniformName: string, array: Int32Array): Effect;
460
460
  /**
461
461
  * Sets an int array 3 on a uniform variable. (Array is specified as single array eg. [1,2,3,4,5,6] will result in [[1,2,3],[4,5,6]] in the shader)
462
462
  * @param uniformName Name of the variable.
463
463
  * @param array array to be set.
464
464
  * @returns this effect.
465
465
  */
466
- setIntArray3: (uniformName: string, array: Int32Array) => Effect;
466
+ setIntArray3(uniformName: string, array: Int32Array): Effect;
467
467
  /**
468
468
  * Sets an int array 4 on a uniform variable. (Array is specified as single array eg. [1,2,3,4,5,6,7,8] will result in [[1,2,3,4],[5,6,7,8]] in the shader)
469
469
  * @param uniformName Name of the variable.
470
470
  * @param array array to be set.
471
471
  * @returns this effect.
472
472
  */
473
- setIntArray4: (uniformName: string, array: Int32Array) => Effect;
473
+ setIntArray4(uniformName: string, array: Int32Array): Effect;
474
474
  /**
475
475
  * Sets an unsigned integer value on a uniform variable.
476
476
  * @param uniformName Name of the variable.
477
477
  * @param value Value to be set.
478
478
  * @returns this effect.
479
479
  */
480
- setUInt: (uniformName: string, value: number) => Effect;
480
+ setUInt(uniformName: string, value: number): Effect;
481
481
  /**
482
482
  * Sets an unsigned int2 value on a uniform variable.
483
483
  * @param uniformName Name of the variable.
@@ -485,7 +485,7 @@ export declare class Effect implements IDisposable {
485
485
  * @param y Second unsigned int in uint2.
486
486
  * @returns this effect.
487
487
  */
488
- setUInt2: (uniformName: string, x: number, y: number) => Effect;
488
+ setUInt2(uniformName: string, x: number, y: number): Effect;
489
489
  /**
490
490
  * Sets an unsigned int3 value on a uniform variable.
491
491
  * @param uniformName Name of the variable.
@@ -494,7 +494,7 @@ export declare class Effect implements IDisposable {
494
494
  * @param z Third unsigned int in uint3.
495
495
  * @returns this effect.
496
496
  */
497
- setUInt3: (uniformName: string, x: number, y: number, z: number) => Effect;
497
+ setUInt3(uniformName: string, x: number, y: number, z: number): Effect;
498
498
  /**
499
499
  * Sets an unsigned int4 value on a uniform variable.
500
500
  * @param uniformName Name of the variable.
@@ -504,35 +504,35 @@ export declare class Effect implements IDisposable {
504
504
  * @param w Fourth unsigned int in uint4.
505
505
  * @returns this effect.
506
506
  */
507
- setUInt4: (uniformName: string, x: number, y: number, z: number, w: number) => Effect;
507
+ setUInt4(uniformName: string, x: number, y: number, z: number, w: number): Effect;
508
508
  /**
509
509
  * Sets an unsigned int array on a uniform variable.
510
510
  * @param uniformName Name of the variable.
511
511
  * @param array array to be set.
512
512
  * @returns this effect.
513
513
  */
514
- setUIntArray: (uniformName: string, array: Uint32Array) => Effect;
514
+ setUIntArray(uniformName: string, array: Uint32Array): Effect;
515
515
  /**
516
516
  * Sets an unsigned int array 2 on a uniform variable. (Array is specified as single array eg. [1,2,3,4] will result in [[1,2],[3,4]] in the shader)
517
517
  * @param uniformName Name of the variable.
518
518
  * @param array array to be set.
519
519
  * @returns this effect.
520
520
  */
521
- setUIntArray2: (uniformName: string, array: Uint32Array) => Effect;
521
+ setUIntArray2(uniformName: string, array: Uint32Array): Effect;
522
522
  /**
523
523
  * Sets an unsigned int array 3 on a uniform variable. (Array is specified as single array eg. [1,2,3,4,5,6] will result in [[1,2,3],[4,5,6]] in the shader)
524
524
  * @param uniformName Name of the variable.
525
525
  * @param array array to be set.
526
526
  * @returns this effect.
527
527
  */
528
- setUIntArray3: (uniformName: string, array: Uint32Array) => Effect;
528
+ setUIntArray3(uniformName: string, array: Uint32Array): Effect;
529
529
  /**
530
530
  * Sets an unsigned int array 4 on a uniform variable. (Array is specified as single array eg. [1,2,3,4,5,6,7,8] will result in [[1,2,3,4],[5,6,7,8]] in the shader)
531
531
  * @param uniformName Name of the variable.
532
532
  * @param array array to be set.
533
533
  * @returns this effect.
534
534
  */
535
- setUIntArray4: (uniformName: string, array: Uint32Array) => Effect;
535
+ setUIntArray4(uniformName: string, array: Uint32Array): Effect;
536
536
  /**
537
537
  * Sets an float array on a uniform variable.
538
538
  * @param uniformName Name of the variable.
@@ -567,63 +567,63 @@ export declare class Effect implements IDisposable {
567
567
  * @param array array to be set.
568
568
  * @returns this effect.
569
569
  */
570
- setArray: (uniformName: string, array: number[]) => Effect;
570
+ setArray(uniformName: string, array: number[]): Effect;
571
571
  /**
572
572
  * Sets an array 2 on a uniform variable. (Array is specified as single array eg. [1,2,3,4] will result in [[1,2],[3,4]] in the shader)
573
573
  * @param uniformName Name of the variable.
574
574
  * @param array array to be set.
575
575
  * @returns this effect.
576
576
  */
577
- setArray2: (uniformName: string, array: number[]) => Effect;
577
+ setArray2(uniformName: string, array: number[]): Effect;
578
578
  /**
579
579
  * Sets an array 3 on a uniform variable. (Array is specified as single array eg. [1,2,3,4,5,6] will result in [[1,2,3],[4,5,6]] in the shader)
580
580
  * @param uniformName Name of the variable.
581
581
  * @param array array to be set.
582
582
  * @returns this effect.
583
583
  */
584
- setArray3: (uniformName: string, array: number[]) => Effect;
584
+ setArray3(uniformName: string, array: number[]): Effect;
585
585
  /**
586
586
  * Sets an array 4 on a uniform variable. (Array is specified as single array eg. [1,2,3,4,5,6,7,8] will result in [[1,2,3,4],[5,6,7,8]] in the shader)
587
587
  * @param uniformName Name of the variable.
588
588
  * @param array array to be set.
589
589
  * @returns this effect.
590
590
  */
591
- setArray4: (uniformName: string, array: number[]) => Effect;
591
+ setArray4(uniformName: string, array: number[]): Effect;
592
592
  /**
593
593
  * Sets matrices on a uniform variable.
594
594
  * @param uniformName Name of the variable.
595
595
  * @param matrices matrices to be set.
596
596
  * @returns this effect.
597
597
  */
598
- setMatrices: (uniformName: string, matrices: Float32Array | Array<number>) => Effect;
598
+ setMatrices(uniformName: string, matrices: Float32Array | Array<number>): Effect;
599
599
  /**
600
600
  * Sets matrix on a uniform variable.
601
601
  * @param uniformName Name of the variable.
602
602
  * @param matrix matrix to be set.
603
603
  * @returns this effect.
604
604
  */
605
- setMatrix: (uniformName: string, matrix: IMatrixLike) => Effect;
605
+ setMatrix(uniformName: string, matrix: IMatrixLike): Effect;
606
606
  /**
607
607
  * Sets a 3x3 matrix on a uniform variable. (Specified as [1,2,3,4,5,6,7,8,9] will result in [1,2,3][4,5,6][7,8,9] matrix)
608
608
  * @param uniformName Name of the variable.
609
609
  * @param matrix matrix to be set.
610
610
  * @returns this effect.
611
611
  */
612
- setMatrix3x3: (uniformName: string, matrix: Float32Array | Array<number>) => Effect;
612
+ setMatrix3x3(uniformName: string, matrix: Float32Array | Array<number>): Effect;
613
613
  /**
614
614
  * Sets a 2x2 matrix on a uniform variable. (Specified as [1,2,3,4] will result in [1,2][3,4] matrix)
615
615
  * @param uniformName Name of the variable.
616
616
  * @param matrix matrix to be set.
617
617
  * @returns this effect.
618
618
  */
619
- setMatrix2x2: (uniformName: string, matrix: Float32Array | Array<number>) => Effect;
619
+ setMatrix2x2(uniformName: string, matrix: Float32Array | Array<number>): Effect;
620
620
  /**
621
621
  * Sets a float on a uniform variable.
622
622
  * @param uniformName Name of the variable.
623
623
  * @param value value to be set.
624
624
  * @returns this effect.
625
625
  */
626
- setFloat: (uniformName: string, value: number) => Effect;
626
+ setFloat(uniformName: string, value: number): Effect;
627
627
  /**
628
628
  * Sets a boolean on a uniform variable.
629
629
  * @param uniformName Name of the variable.
@@ -637,7 +637,7 @@ export declare class Effect implements IDisposable {
637
637
  * @param vector2 vector2 to be set.
638
638
  * @returns this effect.
639
639
  */
640
- setVector2: (uniformName: string, vector2: IVector2Like) => Effect;
640
+ setVector2(uniformName: string, vector2: IVector2Like): Effect;
641
641
  /**
642
642
  * Sets a float2 on a uniform variable.
643
643
  * @param uniformName Name of the variable.
@@ -645,14 +645,14 @@ export declare class Effect implements IDisposable {
645
645
  * @param y Second float in float2.
646
646
  * @returns this effect.
647
647
  */
648
- setFloat2: (uniformName: string, x: number, y: number) => Effect;
648
+ setFloat2(uniformName: string, x: number, y: number): Effect;
649
649
  /**
650
650
  * Sets a Vector3 on a uniform variable.
651
651
  * @param uniformName Name of the variable.
652
652
  * @param vector3 Value to be set.
653
653
  * @returns this effect.
654
654
  */
655
- setVector3: (uniformName: string, vector3: IVector3Like) => Effect;
655
+ setVector3(uniformName: string, vector3: IVector3Like): Effect;
656
656
  /**
657
657
  * Sets a float3 on a uniform variable.
658
658
  * @param uniformName Name of the variable.
@@ -661,21 +661,21 @@ export declare class Effect implements IDisposable {
661
661
  * @param z Third float in float3.
662
662
  * @returns this effect.
663
663
  */
664
- setFloat3: (uniformName: string, x: number, y: number, z: number) => Effect;
664
+ setFloat3(uniformName: string, x: number, y: number, z: number): Effect;
665
665
  /**
666
666
  * Sets a Vector4 on a uniform variable.
667
667
  * @param uniformName Name of the variable.
668
668
  * @param vector4 Value to be set.
669
669
  * @returns this effect.
670
670
  */
671
- setVector4: (uniformName: string, vector4: IVector4Like) => Effect;
671
+ setVector4(uniformName: string, vector4: IVector4Like): Effect;
672
672
  /**
673
673
  * Sets a Quaternion on a uniform variable.
674
674
  * @param uniformName Name of the variable.
675
675
  * @param quaternion Value to be set.
676
676
  * @returns this effect.
677
677
  */
678
- setQuaternion: (uniformName: string, quaternion: IQuaternionLike) => Effect;
678
+ setQuaternion(uniformName: string, quaternion: IQuaternionLike): Effect;
679
679
  /**
680
680
  * Sets a float4 on a uniform variable.
681
681
  * @param uniformName Name of the variable.
@@ -685,14 +685,14 @@ export declare class Effect implements IDisposable {
685
685
  * @param w Fourth float in float4.
686
686
  * @returns this effect.
687
687
  */
688
- setFloat4: (uniformName: string, x: number, y: number, z: number, w: number) => Effect;
688
+ setFloat4(uniformName: string, x: number, y: number, z: number, w: number): Effect;
689
689
  /**
690
690
  * Sets a Color3 on a uniform variable.
691
691
  * @param uniformName Name of the variable.
692
692
  * @param color3 Value to be set.
693
693
  * @returns this effect.
694
694
  */
695
- setColor3: (uniformName: string, color3: IColor3Like) => Effect;
695
+ setColor3(uniformName: string, color3: IColor3Like): Effect;
696
696
  /**
697
697
  * Sets a Color4 on a uniform variable.
698
698
  * @param uniformName Name of the variable.
@@ -700,14 +700,14 @@ export declare class Effect implements IDisposable {
700
700
  * @param alpha Alpha value to be set.
701
701
  * @returns this effect.
702
702
  */
703
- setColor4: (uniformName: string, color3: IColor3Like, alpha: number) => Effect;
703
+ setColor4(uniformName: string, color3: IColor3Like, alpha: number): Effect;
704
704
  /**
705
705
  * Sets a Color4 on a uniform variable
706
706
  * @param uniformName defines the name of the variable
707
707
  * @param color4 defines the value to be set
708
708
  * @returns this effect.
709
709
  */
710
- setDirectColor4: (uniformName: string, color4: IColor4Like) => Effect;
710
+ setDirectColor4(uniformName: string, color4: IColor4Like): Effect;
711
711
  /**
712
712
  * Release all associated resources.
713
713
  **/