@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
26 lines • 880 B
JavaScript
/**
* Defines if the system should use OpenGL convention for UVs when creating geometry or loading .babylon files (false by default)
*/
export let useOpenGLOrientationForUV = false;
/**
* Sets whether to use OpenGL convention for UVs
* @param value the new value
*/
export function setOpenGLOrientationForUV(value) {
useOpenGLOrientationForUV = value;
}
/**
* Options used to control default behaviors regarding compatibility support
* @deprecated please use named exports
*/
export const CompatibilityOptions = {
/* eslint-disable @typescript-eslint/naming-convention */
get UseOpenGLOrientationForUV() {
return useOpenGLOrientationForUV;
},
set UseOpenGLOrientationForUV(value) {
useOpenGLOrientationForUV = value;
},
/* eslint-enable @typescript-eslint/naming-convention */
};
//# sourceMappingURL=compatibilityOptions.js.map