Scene.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. ]
  39. }
  40. }