constants.ts 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  1. /** Defines the cross module used constants to avoid circular dependncies */
  2. export class Constants {
  3. /** Defines that alpha blending is disabled */
  4. public static readonly ALPHA_DISABLE = 0;
  5. /** Defines that alpha blending to SRC ALPHA * SRC + DEST */
  6. public static readonly ALPHA_ADD = 1;
  7. /** Defines that alpha blending to SRC ALPHA * SRC + (1 - SRC ALPHA) * DEST */
  8. public static readonly ALPHA_COMBINE = 2;
  9. /** Defines that alpha blending to DEST - SRC * DEST */
  10. public static readonly ALPHA_SUBTRACT = 3;
  11. /** Defines that alpha blending to SRC * DEST */
  12. public static readonly ALPHA_MULTIPLY = 4;
  13. /** Defines that alpha blending to SRC ALPHA * SRC + (1 - SRC) * DEST */
  14. public static readonly ALPHA_MAXIMIZED = 5;
  15. /** Defines that alpha blending to SRC + DEST */
  16. public static readonly ALPHA_ONEONE = 6;
  17. /** Defines that alpha blending to SRC + (1 - SRC ALPHA) * DEST */
  18. public static readonly ALPHA_PREMULTIPLIED = 7;
  19. /**
  20. * Defines that alpha blending to SRC + (1 - SRC ALPHA) * DEST
  21. * Alpha will be set to (1 - SRC ALPHA) * DEST ALPHA
  22. */
  23. public static readonly ALPHA_PREMULTIPLIED_PORTERDUFF = 8;
  24. /** Defines that alpha blending to CST * SRC + (1 - CST) * DEST */
  25. public static readonly ALPHA_INTERPOLATE = 9;
  26. /**
  27. * Defines that alpha blending to SRC + (1 - SRC) * DEST
  28. * Alpha will be set to SRC ALPHA + (1 - SRC ALPHA) * DEST ALPHA
  29. */
  30. public static readonly ALPHA_SCREENMODE = 10;
  31. /**
  32. * Defines that alpha blending to SRC + DST
  33. * Alpha will be set to SRC ALPHA + DST ALPHA
  34. */
  35. public static readonly ALPHA_ONEONE_ONEONE = 11;
  36. /**
  37. * Defines that alpha blending to SRC * DST ALPHA + DST
  38. * Alpha will be set to 0
  39. */
  40. public static readonly ALPHA_ALPHATOCOLOR = 12;
  41. /**
  42. * Defines that alpha blending to SRC * (1 - DST) + DST * (1 - SRC)
  43. */
  44. public static readonly ALPHA_REVERSEONEMINUS = 13;
  45. /**
  46. * Defines that alpha blending to SRC + DST * (1 - SRC ALPHA)
  47. * Alpha will be set to SRC ALPHA + DST ALPHA * (1 - SRC ALPHA)
  48. */
  49. public static readonly ALPHA_SRC_DSTONEMINUSSRCALPHA = 14;
  50. /**
  51. * Defines that alpha blending to SRC + DST
  52. * Alpha will be set to SRC ALPHA
  53. */
  54. public static readonly ALPHA_ONEONE_ONEZERO = 15;
  55. /** Defines that alpha blending equation a SUM */
  56. public static readonly ALPHA_EQUATION_ADD = 0;
  57. /** Defines that alpha blending equation a SUBSTRACTION */
  58. public static readonly ALPHA_EQUATION_SUBSTRACT = 1;
  59. /** Defines that alpha blending equation a REVERSE SUBSTRACTION */
  60. public static readonly ALPHA_EQUATION_REVERSE_SUBTRACT = 2;
  61. /** Defines that alpha blending equation a MAX operation */
  62. public static readonly ALPHA_EQUATION_MAX = 3;
  63. /** Defines that alpha blending equation a MIN operation */
  64. public static readonly ALPHA_EQUATION_MIN = 4;
  65. /**
  66. * Defines that alpha blending equation a DARKEN operation:
  67. * It takes the min of the src and sums the alpha channels.
  68. */
  69. public static readonly ALPHA_EQUATION_DARKEN = 5;
  70. /** Defines that the ressource is not delayed*/
  71. public static readonly DELAYLOADSTATE_NONE = 0;
  72. /** Defines that the ressource was successfully delay loaded */
  73. public static readonly DELAYLOADSTATE_LOADED = 1;
  74. /** Defines that the ressource is currently delay loading */
  75. public static readonly DELAYLOADSTATE_LOADING = 2;
  76. /** Defines that the ressource is delayed and has not started loading */
  77. public static readonly DELAYLOADSTATE_NOTLOADED = 4;
  78. // Depht or Stencil test Constants.
  79. /** Passed to depthFunction or stencilFunction to specify depth or stencil tests will never pass. i.e. Nothing will be drawn */
  80. public static readonly NEVER = 0x0200;
  81. /** Passed to depthFunction or stencilFunction to specify depth or stencil tests will always pass. i.e. Pixels will be drawn in the order they are drawn */
  82. public static readonly ALWAYS = 0x0207;
  83. /** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is less than the stored value */
  84. public static readonly LESS = 0x0201;
  85. /** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is equals to the stored value */
  86. public static readonly EQUAL = 0x0202;
  87. /** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is less than or equal to the stored value */
  88. public static readonly LEQUAL = 0x0203;
  89. /** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is greater than the stored value */
  90. public static readonly GREATER = 0x0204;
  91. /** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is greater than or equal to the stored value */
  92. public static readonly GEQUAL = 0x0206;
  93. /** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is not equal to the stored value */
  94. public static readonly NOTEQUAL = 0x0205;
  95. // Stencil Actions Constants.
  96. /** Passed to stencilOperation to specify that stencil value must be kept */
  97. public static readonly KEEP = 0x1E00;
  98. /** Passed to stencilOperation to specify that stencil value must be replaced */
  99. public static readonly REPLACE = 0x1E01;
  100. /** Passed to stencilOperation to specify that stencil value must be incremented */
  101. public static readonly INCR = 0x1E02;
  102. /** Passed to stencilOperation to specify that stencil value must be decremented */
  103. public static readonly DECR = 0x1E03;
  104. /** Passed to stencilOperation to specify that stencil value must be inverted */
  105. public static readonly INVERT = 0x150A;
  106. /** Passed to stencilOperation to specify that stencil value must be incremented with wrapping */
  107. public static readonly INCR_WRAP = 0x8507;
  108. /** Passed to stencilOperation to specify that stencil value must be decremented with wrapping */
  109. public static readonly DECR_WRAP = 0x8508;
  110. /** Texture is not repeating outside of 0..1 UVs */
  111. public static readonly TEXTURE_CLAMP_ADDRESSMODE = 0;
  112. /** Texture is repeating outside of 0..1 UVs */
  113. public static readonly TEXTURE_WRAP_ADDRESSMODE = 1;
  114. /** Texture is repeating and mirrored */
  115. public static readonly TEXTURE_MIRROR_ADDRESSMODE = 2;
  116. /** ALPHA */
  117. public static readonly TEXTUREFORMAT_ALPHA = 0;
  118. /** LUMINANCE */
  119. public static readonly TEXTUREFORMAT_LUMINANCE = 1;
  120. /** LUMINANCE_ALPHA */
  121. public static readonly TEXTUREFORMAT_LUMINANCE_ALPHA = 2;
  122. /** RGB */
  123. public static readonly TEXTUREFORMAT_RGB = 4;
  124. /** RGBA */
  125. public static readonly TEXTUREFORMAT_RGBA = 5;
  126. /** RED */
  127. public static readonly TEXTUREFORMAT_RED = 6;
  128. /** RED (2nd reference) */
  129. public static readonly TEXTUREFORMAT_R = 6;
  130. /** RG */
  131. public static readonly TEXTUREFORMAT_RG = 7;
  132. /** RED_INTEGER */
  133. public static readonly TEXTUREFORMAT_RED_INTEGER = 8;
  134. /** RED_INTEGER (2nd reference) */
  135. public static readonly TEXTUREFORMAT_R_INTEGER = 8;
  136. /** RG_INTEGER */
  137. public static readonly TEXTUREFORMAT_RG_INTEGER = 9;
  138. /** RGB_INTEGER */
  139. public static readonly TEXTUREFORMAT_RGB_INTEGER = 10;
  140. /** RGBA_INTEGER */
  141. public static readonly TEXTUREFORMAT_RGBA_INTEGER = 11;
  142. /** UNSIGNED_BYTE */
  143. public static readonly TEXTURETYPE_UNSIGNED_BYTE = 0;
  144. /** UNSIGNED_BYTE (2nd reference) */
  145. public static readonly TEXTURETYPE_UNSIGNED_INT = 0;
  146. /** FLOAT */
  147. public static readonly TEXTURETYPE_FLOAT = 1;
  148. /** HALF_FLOAT */
  149. public static readonly TEXTURETYPE_HALF_FLOAT = 2;
  150. /** BYTE */
  151. public static readonly TEXTURETYPE_BYTE = 3;
  152. /** SHORT */
  153. public static readonly TEXTURETYPE_SHORT = 4;
  154. /** UNSIGNED_SHORT */
  155. public static readonly TEXTURETYPE_UNSIGNED_SHORT = 5;
  156. /** INT */
  157. public static readonly TEXTURETYPE_INT = 6;
  158. /** UNSIGNED_INT */
  159. public static readonly TEXTURETYPE_UNSIGNED_INTEGER = 7;
  160. /** UNSIGNED_SHORT_4_4_4_4 */
  161. public static readonly TEXTURETYPE_UNSIGNED_SHORT_4_4_4_4 = 8;
  162. /** UNSIGNED_SHORT_5_5_5_1 */
  163. public static readonly TEXTURETYPE_UNSIGNED_SHORT_5_5_5_1 = 9;
  164. /** UNSIGNED_SHORT_5_6_5 */
  165. public static readonly TEXTURETYPE_UNSIGNED_SHORT_5_6_5 = 10;
  166. /** UNSIGNED_INT_2_10_10_10_REV */
  167. public static readonly TEXTURETYPE_UNSIGNED_INT_2_10_10_10_REV = 11;
  168. /** UNSIGNED_INT_24_8 */
  169. public static readonly TEXTURETYPE_UNSIGNED_INT_24_8 = 12;
  170. /** UNSIGNED_INT_10F_11F_11F_REV */
  171. public static readonly TEXTURETYPE_UNSIGNED_INT_10F_11F_11F_REV = 13;
  172. /** UNSIGNED_INT_5_9_9_9_REV */
  173. public static readonly TEXTURETYPE_UNSIGNED_INT_5_9_9_9_REV = 14;
  174. /** FLOAT_32_UNSIGNED_INT_24_8_REV */
  175. public static readonly TEXTURETYPE_FLOAT_32_UNSIGNED_INT_24_8_REV = 15;
  176. /** nearest is mag = nearest and min = nearest and mip = linear */
  177. public static readonly TEXTURE_NEAREST_SAMPLINGMODE = 1;
  178. /** Bilinear is mag = linear and min = linear and mip = nearest */
  179. public static readonly TEXTURE_BILINEAR_SAMPLINGMODE = 2;
  180. /** Trilinear is mag = linear and min = linear and mip = linear */
  181. public static readonly TEXTURE_TRILINEAR_SAMPLINGMODE = 3;
  182. /** nearest is mag = nearest and min = nearest and mip = linear */
  183. public static readonly TEXTURE_NEAREST_NEAREST_MIPLINEAR = 1;
  184. /** Bilinear is mag = linear and min = linear and mip = nearest */
  185. public static readonly TEXTURE_LINEAR_LINEAR_MIPNEAREST = 2;
  186. /** Trilinear is mag = linear and min = linear and mip = linear */
  187. public static readonly TEXTURE_LINEAR_LINEAR_MIPLINEAR = 3;
  188. /** mag = nearest and min = nearest and mip = nearest */
  189. public static readonly TEXTURE_NEAREST_NEAREST_MIPNEAREST = 4;
  190. /** mag = nearest and min = linear and mip = nearest */
  191. public static readonly TEXTURE_NEAREST_LINEAR_MIPNEAREST = 5;
  192. /** mag = nearest and min = linear and mip = linear */
  193. public static readonly TEXTURE_NEAREST_LINEAR_MIPLINEAR = 6;
  194. /** mag = nearest and min = linear and mip = none */
  195. public static readonly TEXTURE_NEAREST_LINEAR = 7;
  196. /** mag = nearest and min = nearest and mip = none */
  197. public static readonly TEXTURE_NEAREST_NEAREST = 8;
  198. /** mag = linear and min = nearest and mip = nearest */
  199. public static readonly TEXTURE_LINEAR_NEAREST_MIPNEAREST = 9;
  200. /** mag = linear and min = nearest and mip = linear */
  201. public static readonly TEXTURE_LINEAR_NEAREST_MIPLINEAR = 10;
  202. /** mag = linear and min = linear and mip = none */
  203. public static readonly TEXTURE_LINEAR_LINEAR = 11;
  204. /** mag = linear and min = nearest and mip = none */
  205. public static readonly TEXTURE_LINEAR_NEAREST = 12;
  206. /** Explicit coordinates mode */
  207. public static readonly TEXTURE_EXPLICIT_MODE = 0;
  208. /** Spherical coordinates mode */
  209. public static readonly TEXTURE_SPHERICAL_MODE = 1;
  210. /** Planar coordinates mode */
  211. public static readonly TEXTURE_PLANAR_MODE = 2;
  212. /** Cubic coordinates mode */
  213. public static readonly TEXTURE_CUBIC_MODE = 3;
  214. /** Projection coordinates mode */
  215. public static readonly TEXTURE_PROJECTION_MODE = 4;
  216. /** Skybox coordinates mode */
  217. public static readonly TEXTURE_SKYBOX_MODE = 5;
  218. /** Inverse Cubic coordinates mode */
  219. public static readonly TEXTURE_INVCUBIC_MODE = 6;
  220. /** Equirectangular coordinates mode */
  221. public static readonly TEXTURE_EQUIRECTANGULAR_MODE = 7;
  222. /** Equirectangular Fixed coordinates mode */
  223. public static readonly TEXTURE_FIXED_EQUIRECTANGULAR_MODE = 8;
  224. /** Equirectangular Fixed Mirrored coordinates mode */
  225. public static readonly TEXTURE_FIXED_EQUIRECTANGULAR_MIRRORED_MODE = 9;
  226. // Texture rescaling mode
  227. /** Defines that texture rescaling will use a floor to find the closer power of 2 size */
  228. public static readonly SCALEMODE_FLOOR = 1;
  229. /** Defines that texture rescaling will look for the nearest power of 2 size */
  230. public static readonly SCALEMODE_NEAREST = 2;
  231. /** Defines that texture rescaling will use a ceil to find the closer power of 2 size */
  232. public static readonly SCALEMODE_CEILING = 3;
  233. /**
  234. * The dirty texture flag value
  235. */
  236. public static readonly MATERIAL_TextureDirtyFlag = 1;
  237. /**
  238. * The dirty light flag value
  239. */
  240. public static readonly MATERIAL_LightDirtyFlag = 2;
  241. /**
  242. * The dirty fresnel flag value
  243. */
  244. public static readonly MATERIAL_FresnelDirtyFlag = 4;
  245. /**
  246. * The dirty attribute flag value
  247. */
  248. public static readonly MATERIAL_AttributesDirtyFlag = 8;
  249. /**
  250. * The dirty misc flag value
  251. */
  252. public static readonly MATERIAL_MiscDirtyFlag = 16;
  253. /**
  254. * The all dirty flag value
  255. */
  256. public static readonly MATERIAL_AllDirtyFlag = 31;
  257. /**
  258. * Returns the triangle fill mode
  259. */
  260. public static readonly MATERIAL_TriangleFillMode = 0;
  261. /**
  262. * Returns the wireframe mode
  263. */
  264. public static readonly MATERIAL_WireFrameFillMode = 1;
  265. /**
  266. * Returns the point fill mode
  267. */
  268. public static readonly MATERIAL_PointFillMode = 2;
  269. /**
  270. * Returns the point list draw mode
  271. */
  272. public static readonly MATERIAL_PointListDrawMode = 3;
  273. /**
  274. * Returns the line list draw mode
  275. */
  276. public static readonly MATERIAL_LineListDrawMode = 4;
  277. /**
  278. * Returns the line loop draw mode
  279. */
  280. public static readonly MATERIAL_LineLoopDrawMode = 5;
  281. /**
  282. * Returns the line strip draw mode
  283. */
  284. public static readonly MATERIAL_LineStripDrawMode = 6;
  285. /**
  286. * Returns the triangle strip draw mode
  287. */
  288. public static readonly MATERIAL_TriangleStripDrawMode = 7;
  289. /**
  290. * Returns the triangle fan draw mode
  291. */
  292. public static readonly MATERIAL_TriangleFanDrawMode = 8;
  293. /**
  294. * Stores the clock-wise side orientation
  295. */
  296. public static readonly MATERIAL_ClockWiseSideOrientation = 0;
  297. /**
  298. * Stores the counter clock-wise side orientation
  299. */
  300. public static readonly MATERIAL_CounterClockWiseSideOrientation = 1;
  301. /**
  302. * Nothing
  303. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  304. */
  305. public static readonly ACTION_NothingTrigger = 0;
  306. /**
  307. * On pick
  308. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  309. */
  310. public static readonly ACTION_OnPickTrigger = 1;
  311. /**
  312. * On left pick
  313. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  314. */
  315. public static readonly ACTION_OnLeftPickTrigger = 2;
  316. /**
  317. * On right pick
  318. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  319. */
  320. public static readonly ACTION_OnRightPickTrigger = 3;
  321. /**
  322. * On center pick
  323. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  324. */
  325. public static readonly ACTION_OnCenterPickTrigger = 4;
  326. /**
  327. * On pick down
  328. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  329. */
  330. public static readonly ACTION_OnPickDownTrigger = 5;
  331. /**
  332. * On double pick
  333. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  334. */
  335. public static readonly ACTION_OnDoublePickTrigger = 6;
  336. /**
  337. * On pick up
  338. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  339. */
  340. public static readonly ACTION_OnPickUpTrigger = 7;
  341. /**
  342. * On pick out.
  343. * This trigger will only be raised if you also declared a OnPickDown
  344. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  345. */
  346. public static readonly ACTION_OnPickOutTrigger = 16;
  347. /**
  348. * On long press
  349. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  350. */
  351. public static readonly ACTION_OnLongPressTrigger = 8;
  352. /**
  353. * On pointer over
  354. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  355. */
  356. public static readonly ACTION_OnPointerOverTrigger = 9;
  357. /**
  358. * On pointer out
  359. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  360. */
  361. public static readonly ACTION_OnPointerOutTrigger = 10;
  362. /**
  363. * On every frame
  364. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  365. */
  366. public static readonly ACTION_OnEveryFrameTrigger = 11;
  367. /**
  368. * On intersection enter
  369. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  370. */
  371. public static readonly ACTION_OnIntersectionEnterTrigger = 12;
  372. /**
  373. * On intersection exit
  374. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  375. */
  376. public static readonly ACTION_OnIntersectionExitTrigger = 13;
  377. /**
  378. * On key down
  379. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  380. */
  381. public static readonly ACTION_OnKeyDownTrigger = 14;
  382. /**
  383. * On key up
  384. * @see http://doc.babylonjs.com/how_to/how_to_use_actions#triggers
  385. */
  386. public static readonly ACTION_OnKeyUpTrigger = 15;
  387. /**
  388. * Billboard mode will only apply to Y axis
  389. */
  390. public static readonly PARTICLES_BILLBOARDMODE_Y = 2;
  391. /**
  392. * Billboard mode will apply to all axes
  393. */
  394. public static readonly PARTICLES_BILLBOARDMODE_ALL = 7;
  395. /**
  396. * Special billboard mode where the particle will be biilboard to the camera but rotated to align with direction
  397. */
  398. public static readonly PARTICLES_BILLBOARDMODE_STRETCHED = 8;
  399. /** Default culling strategy : this is an exclusion test and it's the more accurate.
  400. * Test order :
  401. * Is the bounding sphere outside the frustum ?
  402. * If not, are the bounding box vertices outside the frustum ?
  403. * It not, then the cullable object is in the frustum.
  404. */
  405. public static readonly MESHES_CULLINGSTRATEGY_STANDARD = 0;
  406. /** Culling strategy : Bounding Sphere Only.
  407. * This is an exclusion test. It's faster than the standard strategy because the bounding box is not tested.
  408. * It's also less accurate than the standard because some not visible objects can still be selected.
  409. * Test : is the bounding sphere outside the frustum ?
  410. * If not, then the cullable object is in the frustum.
  411. */
  412. public static readonly MESHES_CULLINGSTRATEGY_BOUNDINGSPHERE_ONLY = 1;
  413. /** Culling strategy : Optimistic Inclusion.
  414. * This in an inclusion test first, then the standard exclusion test.
  415. * This can be faster when a cullable object is expected to be almost always in the camera frustum.
  416. * This could also be a little slower than the standard test when the tested object center is not the frustum but one of its bounding box vertex is still inside.
  417. * Anyway, it's as accurate as the standard strategy.
  418. * Test :
  419. * Is the cullable object bounding sphere center in the frustum ?
  420. * If not, apply the default culling strategy.
  421. */
  422. public static readonly MESHES_CULLINGSTRATEGY_OPTIMISTIC_INCLUSION = 2;
  423. /** Culling strategy : Optimistic Inclusion then Bounding Sphere Only.
  424. * This in an inclusion test first, then the bounding sphere only exclusion test.
  425. * This can be the fastest test when a cullable object is expected to be almost always in the camera frustum.
  426. * This could also be a little slower than the BoundingSphereOnly strategy when the tested object center is not in the frustum but its bounding sphere still intersects it.
  427. * It's less accurate than the standard strategy and as accurate as the BoundingSphereOnly strategy.
  428. * Test :
  429. * Is the cullable object bounding sphere center in the frustum ?
  430. * If not, apply the Bounding Sphere Only strategy. No Bounding Box is tested here.
  431. */
  432. public static readonly MESHES_CULLINGSTRATEGY_OPTIMISTIC_INCLUSION_THEN_BSPHERE_ONLY = 3;
  433. /**
  434. * No logging while loading
  435. */
  436. public static readonly SCENELOADER_NO_LOGGING = 0;
  437. /**
  438. * Minimal logging while loading
  439. */
  440. public static readonly SCENELOADER_MINIMAL_LOGGING = 1;
  441. /**
  442. * Summary logging while loading
  443. */
  444. public static readonly SCENELOADER_SUMMARY_LOGGING = 2;
  445. /**
  446. * Detailled logging while loading
  447. */
  448. public static readonly SCENELOADER_DETAILED_LOGGING = 3;
  449. }