Scene.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. "overloads" : {
  9. "Node" : {
  10. "CreateChild" : ["String", "CreateMode", "unsigned"],
  11. "GetChild" : ["String", "bool"],
  12. "SetScale" : ["Vector3"],
  13. "SetPosition2D" : ["Vector2"],
  14. "SetScale2D" : ["Vector2"]
  15. },
  16. "ValueAnimationInfo" : {
  17. "ValueAnimationInfo" : ["ValueAnimation", "WrapMode", "float"]
  18. }
  19. },
  20. "typescript_decl" : {
  21. "Serializable" : [
  22. "getAttributes():AttributeInfo[];",
  23. "getAttribute(name:string):any;",
  24. "setAttribute(name:string, value:any):void;"
  25. ],
  26. "Node" : [
  27. "saveXML(file:File):boolean;",
  28. "getChildrenWithName(name:string, recursive?:boolean):Node[];",
  29. "getChildrenWithComponent(componentType:string, recursive?:boolean):Node[];",
  30. "getComponents(componentType?:string, recursive?:boolean):Component[];",
  31. "getChildAtIndex(index:number):Node;"
  32. ]
  33. }
  34. }