|
@@ -34999,7 +34999,8 @@ declare module "babylonjs/Misc/tools" {
|
|
|
* It can be a string if the expected behavior is identical in the entire app.
|
|
|
* Or a callback to be able to set it per url or on a group of them (in case of Video source for instance)
|
|
|
*/
|
|
|
- static CorsBehavior: string | ((url: string | string[]) => string);
|
|
|
+ static get CorsBehavior(): string | ((url: string | string[]) => string);
|
|
|
+ static set CorsBehavior(value: string | ((url: string | string[]) => string));
|
|
|
/**
|
|
|
* Gets or sets a global variable indicating if fallback texture must be used when a texture cannot be loaded
|
|
|
* @ignorenaming
|
|
@@ -107261,7 +107262,8 @@ declare module BABYLON {
|
|
|
* It can be a string if the expected behavior is identical in the entire app.
|
|
|
* Or a callback to be able to set it per url or on a group of them (in case of Video source for instance)
|
|
|
*/
|
|
|
- static CorsBehavior: string | ((url: string | string[]) => string);
|
|
|
+ static get CorsBehavior(): string | ((url: string | string[]) => string);
|
|
|
+ static set CorsBehavior(value: string | ((url: string | string[]) => string));
|
|
|
/**
|
|
|
* Gets or sets a global variable indicating if fallback texture must be used when a texture cannot be loaded
|
|
|
* @ignorenaming
|