CSParse3DBinary.fbs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. // CSParse3DBinary IDL file
  2. // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  3. // !! When adding new pairs to the maps below, !!
  4. // !! please add to the last position of the map. !!
  5. // !! It will ensure the reader's version compatible. !!
  6. // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  7. include "CSParseBinary.fbs";
  8. namespace flatbuffers;
  9. table Node3DOption
  10. {
  11. nodeOptions:WidgetOptions;
  12. position3D:Vector3;
  13. rotation3D:Vector3;
  14. scale3D:Vector3;
  15. cameramask:int;
  16. }
  17. root_type Node3DOption;
  18. table Sprite3DOptions
  19. {
  20. node3DOption:Node3DOption;
  21. fileData:ResourceData;
  22. runAction:bool = false;
  23. isFlipped:bool;
  24. lightFlag:int;
  25. }
  26. table Particle3DOptions
  27. {
  28. node3DOption:Node3DOption;
  29. fileData:ResourceData;
  30. }
  31. table UserCameraOptions
  32. {
  33. node3DOption:Node3DOption;
  34. fov:float = 60;
  35. nearClip:float = 1;
  36. farClip:float = 1000;
  37. cameraFlag:int;
  38. skyBoxEnabled:bool;
  39. leftFileData:ResourceData;
  40. rightFileData:ResourceData;
  41. upFileData:ResourceData;
  42. downFileData:ResourceData;
  43. forwardFileData:ResourceData;
  44. backFileData:ResourceData;
  45. }
  46. table GameNode3DOption
  47. {
  48. name:string;
  49. skyBoxMask:int;
  50. skyBoxEnabled:bool;
  51. leftFileData:ResourceData;
  52. rightFileData:ResourceData;
  53. upFileData:ResourceData;
  54. downFileData:ResourceData;
  55. forwardFileData:ResourceData;
  56. backFileData:ResourceData;
  57. frameEvent:string;
  58. customProperty:string;
  59. useDefaultLight:bool;
  60. }
  61. table Light3DOption
  62. {
  63. node3DOption:Node3DOption;
  64. enabled:bool;
  65. type:int;
  66. flag:int;
  67. intensity:float;
  68. range:float;
  69. outerAngle:float;
  70. }
  71. struct Vector2
  72. {
  73. x:float;
  74. y:float;
  75. }
  76. struct Vector3
  77. {
  78. x:float;
  79. y:float;
  80. z:float;
  81. }