Scene.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name" : "Scene",
  3. "sources" : ["Source/Atomic/Scene"],
  4. "includes" : ["<Atomic/Scene/LogicComponent.h>", "<Atomic/Network/Connection.h>"],
  5. "classes" : ["Animatable", "Node", "Scene", "Component", "Serializable",
  6. "ObjectAnimation", "SmoothedTransform", "SplinePath",
  7. "ValueAnimation", "ValueAnimationInfo", "PrefabComponent"],
  8. "excludes" : {
  9. "Scene" : {
  10. "GetComponent" : ["unsigned"],
  11. "MarkReplicationDirty" : ["Node"]
  12. }
  13. },
  14. "overloads" : {
  15. "Node" : {
  16. "CreateChild" : ["String", "CreateMode", "unsigned"],
  17. "GetChild" : ["String", "bool"],
  18. "SetScale" : ["Vector3"],
  19. "SetPosition2D" : ["Vector2"],
  20. "SetScale2D" : ["Vector2"]
  21. },
  22. "ValueAnimationInfo" : {
  23. "ValueAnimationInfo" : ["ValueAnimation", "WrapMode", "float"]
  24. }
  25. },
  26. "typescript_decl" : {
  27. "Serializable" : [
  28. "getAttributes():AttributeInfo[];",
  29. "getAttribute(name:string):any;",
  30. "setAttribute(name:string, value:any):void;"
  31. ],
  32. "Node" : [
  33. "saveXML(file:File):boolean;",
  34. "getChildrenWithName(name:string, recursive?:boolean):Node[];",
  35. "getChildrenWithComponent(componentType:string, recursive?:boolean):Node[];",
  36. "getComponents(componentType?:string, recursive?:boolean):Component[];",
  37. "getChildAtIndex(index:number):Node;",
  38. "createJSComponent(name:string, args?:{});",
  39. "getJSComponent(name:string):JSComponent;"
  40. ],
  41. "Scene" : [
  42. "getMainCamera():Camera;"
  43. ]
  44. }
  45. }