SceneEntityInstance.js 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. function SceneEntityInstance() {
  2. }
  3. SceneEntityInstance.prototype.Clone = function(deepClone,ignoreEditorOnly) {
  4. Polycode.SceneEntityInstance_Clone(this.__ptr, deepClone,ignoreEditorOnly)
  5. }
  6. SceneEntityInstance.prototype.applyClone = function(clone,deepClone,ignoreEditorOnly) {
  7. Polycode.SceneEntityInstance_applyClone(this.__ptr, clone,deepClone,ignoreEditorOnly)
  8. }
  9. SceneEntityInstance.prototype.reloadEntityInstance = function() {
  10. Polycode.SceneEntityInstance_reloadEntityInstance(this.__ptr)
  11. }
  12. SceneEntityInstance.prototype.clearInstance = function() {
  13. Polycode.SceneEntityInstance_clearInstance(this.__ptr)
  14. }
  15. SceneEntityInstance.prototype.parseObjectIntoCurve = function(entry,curve) {
  16. Polycode.SceneEntityInstance_parseObjectIntoCurve(this.__ptr, entry,curve)
  17. }
  18. SceneEntityInstance.prototype.loadObjectEntryIntoEntity = function(entry,targetEntity,entityFileVersion) {
  19. Polycode.SceneEntityInstance_loadObjectEntryIntoEntity(this.__ptr, entry,targetEntity,entityFileVersion)
  20. }
  21. SceneEntityInstance.prototype.loadFromFile = function(fileName) {
  22. Polycode.SceneEntityInstance_loadFromFile(this.__ptr, fileName)
  23. }
  24. SceneEntityInstance.prototype.applySceneMesh = function(entry,sceneMesh) {
  25. Polycode.SceneEntityInstance_applySceneMesh(this.__ptr, entry,sceneMesh)
  26. }
  27. SceneEntityInstance.prototype.linkResourcePool = function(pool) {
  28. Polycode.SceneEntityInstance_linkResourcePool(this.__ptr, pool)
  29. }
  30. SceneEntityInstance.prototype.getNumLinkedResourePools = function() {
  31. Polycode.SceneEntityInstance_getNumLinkedResourePools(this.__ptr)
  32. }
  33. SceneEntityInstance.prototype.getLinkedResourcePoolAtIndex = function(index) {
  34. Polycode.SceneEntityInstance_getLinkedResourcePoolAtIndex(this.__ptr, index)
  35. }
  36. SceneEntityInstance.prototype.unlinkResourcePool = function(pool) {
  37. Polycode.SceneEntityInstance_unlinkResourcePool(this.__ptr, pool)
  38. }
  39. SceneEntityInstance.prototype.getResourceEntry = function() {
  40. Polycode.SceneEntityInstance_getResourceEntry(this.__ptr)
  41. }
  42. SceneEntityInstance.prototype.getTopLevelResourcePool = function() {
  43. Polycode.SceneEntityInstance_getTopLevelResourcePool(this.__ptr)
  44. }
  45. SceneEntityInstance.prototype.hasLayerID = function(layerID) {
  46. Polycode.SceneEntityInstance_hasLayerID(this.__ptr, layerID)
  47. }
  48. SceneEntityInstance.prototype.getNumLayers = function() {
  49. Polycode.SceneEntityInstance_getNumLayers(this.__ptr)
  50. }
  51. SceneEntityInstance.prototype.getLayerAtIndex = function(index) {
  52. Polycode.SceneEntityInstance_getLayerAtIndex(this.__ptr, index)
  53. }
  54. SceneEntityInstance.prototype.removeLayer = function(layer) {
  55. Polycode.SceneEntityInstance_removeLayer(this.__ptr, layer)
  56. }
  57. SceneEntityInstance.prototype.createNewLayer = function(name) {
  58. Polycode.SceneEntityInstance_createNewLayer(this.__ptr, name)
  59. }
  60. SceneEntityInstance.prototype.getFileName = function() {
  61. Polycode.SceneEntityInstance_getFileName(this.__ptr)
  62. }