SCNParametricGeometry.inc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. { Parsed from SceneKit.framework SCNParametricGeometry.h }
  2. {$ifdef TYPES}
  3. type
  4. SCNPlanePtr = ^SCNPlane;
  5. SCNBoxPtr = ^SCNBox;
  6. SCNPyramidPtr = ^SCNPyramid;
  7. SCNSpherePtr = ^SCNSphere;
  8. SCNCylinderPtr = ^SCNCylinder;
  9. SCNConePtr = ^SCNCone;
  10. SCNTubePtr = ^SCNTube;
  11. SCNCapsulePtr = ^SCNCapsule;
  12. SCNTorusPtr = ^SCNTorus;
  13. SCNFloorPtr = ^SCNFloor;
  14. SCNTextPtr = ^SCNText;
  15. SCNShapePtr = ^SCNShape;
  16. {$endif}
  17. {$ifdef CLASSES}
  18. type
  19. SCNPlane = objcclass external (SCNGeometry)
  20. private
  21. _reserved: id;
  22. public
  23. class function planeWithWidth_height (width: CGFloat; height: CGFloat): instancetype; message 'planeWithWidth:height:';
  24. procedure setWidth(newValue: CGFloat); message 'setWidth:';
  25. function width: CGFloat; message 'width';
  26. procedure setHeight(newValue: CGFloat); message 'setHeight:';
  27. function height: CGFloat; message 'height';
  28. procedure setWidthSegmentCount(newValue: NSInteger); message 'setWidthSegmentCount:';
  29. function widthSegmentCount: NSInteger; message 'widthSegmentCount';
  30. procedure setHeightSegmentCount(newValue: NSInteger); message 'setHeightSegmentCount:';
  31. function heightSegmentCount: NSInteger; message 'heightSegmentCount';
  32. procedure setCornerRadius(newValue: CGFloat); message 'setCornerRadius:';
  33. function cornerRadius: CGFloat; message 'cornerRadius';
  34. procedure setCornerSegmentCount(newValue: NSInteger); message 'setCornerSegmentCount:';
  35. function cornerSegmentCount: NSInteger; message 'cornerSegmentCount';
  36. end;
  37. type
  38. SCNBox = objcclass external (SCNGeometry)
  39. private
  40. _reserved: id;
  41. public
  42. class function boxWithWidth_height_length_chamferRadius (width: CGFloat; height: CGFloat; length: CGFloat; chamferRadius: CGFloat): instancetype; message 'boxWithWidth:height:length:chamferRadius:';
  43. procedure setWidth(newValue: CGFloat); message 'setWidth:';
  44. function width: CGFloat; message 'width';
  45. procedure setHeight(newValue: CGFloat); message 'setHeight:';
  46. function height: CGFloat; message 'height';
  47. procedure setLength(newValue: CGFloat); message 'setLength:';
  48. function length: CGFloat; message 'length';
  49. procedure setChamferRadius(newValue: CGFloat); message 'setChamferRadius:';
  50. function chamferRadius: CGFloat; message 'chamferRadius';
  51. procedure setWidthSegmentCount(newValue: NSInteger); message 'setWidthSegmentCount:';
  52. function widthSegmentCount: NSInteger; message 'widthSegmentCount';
  53. procedure setHeightSegmentCount(newValue: NSInteger); message 'setHeightSegmentCount:';
  54. function heightSegmentCount: NSInteger; message 'heightSegmentCount';
  55. procedure setLengthSegmentCount(newValue: NSInteger); message 'setLengthSegmentCount:';
  56. function lengthSegmentCount: NSInteger; message 'lengthSegmentCount';
  57. procedure setChamferSegmentCount(newValue: NSInteger); message 'setChamferSegmentCount:';
  58. function chamferSegmentCount: NSInteger; message 'chamferSegmentCount';
  59. end;
  60. type
  61. SCNPyramid = objcclass external (SCNGeometry)
  62. private
  63. _reserved: id;
  64. public
  65. class function pyramidWithWidth_height_length (width: CGFloat; height: CGFloat; length: CGFloat): instancetype; message 'pyramidWithWidth:height:length:';
  66. procedure setWidth(newValue: CGFloat); message 'setWidth:';
  67. function width: CGFloat; message 'width';
  68. procedure setHeight(newValue: CGFloat); message 'setHeight:';
  69. function height: CGFloat; message 'height';
  70. procedure setLength(newValue: CGFloat); message 'setLength:';
  71. function length: CGFloat; message 'length';
  72. procedure setWidthSegmentCount(newValue: NSInteger); message 'setWidthSegmentCount:';
  73. function widthSegmentCount: NSInteger; message 'widthSegmentCount';
  74. procedure setHeightSegmentCount(newValue: NSInteger); message 'setHeightSegmentCount:';
  75. function heightSegmentCount: NSInteger; message 'heightSegmentCount';
  76. procedure setLengthSegmentCount(newValue: NSInteger); message 'setLengthSegmentCount:';
  77. function lengthSegmentCount: NSInteger; message 'lengthSegmentCount';
  78. end;
  79. type
  80. SCNSphere = objcclass external (SCNGeometry)
  81. private
  82. _reserved: id;
  83. public
  84. class function sphereWithRadius (radius: CGFloat): instancetype; message 'sphereWithRadius:';
  85. procedure setRadius(newValue: CGFloat); message 'setRadius:';
  86. function radius: CGFloat; message 'radius';
  87. procedure setGeodesic(newValue: ObjCBOOL); message 'setGeodesic:';
  88. function isGeodesic: ObjCBOOL; message 'isGeodesic';
  89. procedure setSegmentCount(newValue: NSInteger); message 'setSegmentCount:';
  90. function segmentCount: NSInteger; message 'segmentCount';
  91. end;
  92. type
  93. SCNCylinder = objcclass external (SCNGeometry)
  94. private
  95. _reserved: id;
  96. public
  97. class function cylinderWithRadius_height (radius: CGFloat; height: CGFloat): instancetype; message 'cylinderWithRadius:height:';
  98. procedure setRadius(newValue: CGFloat); message 'setRadius:';
  99. function radius: CGFloat; message 'radius';
  100. procedure setHeight(newValue: CGFloat); message 'setHeight:';
  101. function height: CGFloat; message 'height';
  102. procedure setRadialSegmentCount(newValue: NSInteger); message 'setRadialSegmentCount:';
  103. function radialSegmentCount: NSInteger; message 'radialSegmentCount';
  104. procedure setHeightSegmentCount(newValue: NSInteger); message 'setHeightSegmentCount:';
  105. function heightSegmentCount: NSInteger; message 'heightSegmentCount';
  106. end;
  107. type
  108. SCNCone = objcclass external (SCNGeometry)
  109. private
  110. _reserved: id;
  111. public
  112. class function coneWithTopRadius_bottomRadius_height (topRadius: CGFloat; bottomRadius: CGFloat; height: CGFloat): instancetype; message 'coneWithTopRadius:bottomRadius:height:';
  113. procedure setTopRadius(newValue: CGFloat); message 'setTopRadius:';
  114. function topRadius: CGFloat; message 'topRadius';
  115. procedure setBottomRadius(newValue: CGFloat); message 'setBottomRadius:';
  116. function bottomRadius: CGFloat; message 'bottomRadius';
  117. procedure setHeight(newValue: CGFloat); message 'setHeight:';
  118. function height: CGFloat; message 'height';
  119. procedure setRadialSegmentCount(newValue: NSInteger); message 'setRadialSegmentCount:';
  120. function radialSegmentCount: NSInteger; message 'radialSegmentCount';
  121. procedure setHeightSegmentCount(newValue: NSInteger); message 'setHeightSegmentCount:';
  122. function heightSegmentCount: NSInteger; message 'heightSegmentCount';
  123. end;
  124. type
  125. SCNTube = objcclass external (SCNGeometry)
  126. private
  127. _reserved: id;
  128. public
  129. class function tubeWithInnerRadius_outerRadius_height (innerRadius: CGFloat; outerRadius: CGFloat; height: CGFloat): instancetype; message 'tubeWithInnerRadius:outerRadius:height:';
  130. procedure setInnerRadius(newValue: CGFloat); message 'setInnerRadius:';
  131. function innerRadius: CGFloat; message 'innerRadius';
  132. procedure setOuterRadius(newValue: CGFloat); message 'setOuterRadius:';
  133. function outerRadius: CGFloat; message 'outerRadius';
  134. procedure setHeight(newValue: CGFloat); message 'setHeight:';
  135. function height: CGFloat; message 'height';
  136. procedure setRadialSegmentCount(newValue: NSInteger); message 'setRadialSegmentCount:';
  137. function radialSegmentCount: NSInteger; message 'radialSegmentCount';
  138. procedure setHeightSegmentCount(newValue: NSInteger); message 'setHeightSegmentCount:';
  139. function heightSegmentCount: NSInteger; message 'heightSegmentCount';
  140. end;
  141. type
  142. SCNCapsule = objcclass external (SCNGeometry)
  143. private
  144. _reserved: id;
  145. public
  146. class function capsuleWithCapRadius_height (capRadius: CGFloat; height: CGFloat): instancetype; message 'capsuleWithCapRadius:height:';
  147. procedure setCapRadius(newValue: CGFloat); message 'setCapRadius:';
  148. function capRadius: CGFloat; message 'capRadius';
  149. procedure setHeight(newValue: CGFloat); message 'setHeight:';
  150. function height: CGFloat; message 'height';
  151. procedure setRadialSegmentCount(newValue: NSInteger); message 'setRadialSegmentCount:';
  152. function radialSegmentCount: NSInteger; message 'radialSegmentCount';
  153. procedure setHeightSegmentCount(newValue: NSInteger); message 'setHeightSegmentCount:';
  154. function heightSegmentCount: NSInteger; message 'heightSegmentCount';
  155. procedure setCapSegmentCount(newValue: NSInteger); message 'setCapSegmentCount:';
  156. function capSegmentCount: NSInteger; message 'capSegmentCount';
  157. end;
  158. type
  159. SCNTorus = objcclass external (SCNGeometry)
  160. private
  161. _reserved: id;
  162. public
  163. class function torusWithRingRadius_pipeRadius (ringRadius: CGFloat; pipeRadius: CGFloat): instancetype; message 'torusWithRingRadius:pipeRadius:';
  164. procedure setRingRadius(newValue: CGFloat); message 'setRingRadius:';
  165. function ringRadius: CGFloat; message 'ringRadius';
  166. procedure setPipeRadius(newValue: CGFloat); message 'setPipeRadius:';
  167. function pipeRadius: CGFloat; message 'pipeRadius';
  168. procedure setRingSegmentCount(newValue: NSInteger); message 'setRingSegmentCount:';
  169. function ringSegmentCount: NSInteger; message 'ringSegmentCount';
  170. procedure setPipeSegmentCount(newValue: NSInteger); message 'setPipeSegmentCount:';
  171. function pipeSegmentCount: NSInteger; message 'pipeSegmentCount';
  172. end;
  173. type
  174. SCNFloor = objcclass external (SCNGeometry)
  175. private
  176. _reserved: id;
  177. public
  178. class function floor: instancetype; message 'floor';
  179. procedure setReflectivity(newValue: CGFloat); message 'setReflectivity:';
  180. function reflectivity: CGFloat; message 'reflectivity';
  181. procedure setReflectionFalloffStart(newValue: CGFloat); message 'setReflectionFalloffStart:';
  182. function reflectionFalloffStart: CGFloat; message 'reflectionFalloffStart';
  183. procedure setReflectionFalloffEnd(newValue: CGFloat); message 'setReflectionFalloffEnd:';
  184. function reflectionFalloffEnd: CGFloat; message 'reflectionFalloffEnd';
  185. procedure setReflectionResolutionScaleFactor(newValue: CGFloat); message 'setReflectionResolutionScaleFactor:';
  186. function reflectionResolutionScaleFactor: CGFloat; message 'reflectionResolutionScaleFactor';
  187. end;
  188. type
  189. SCNText = objcclass external (SCNGeometry)
  190. private
  191. _reserved: id;
  192. public
  193. class function textWithString_extrusionDepth (string_: id; extrusionDepth: CGFloat): instancetype; message 'textWithString:extrusionDepth:';
  194. procedure setExtrusionDepth(newValue: CGFloat); message 'setExtrusionDepth:';
  195. function extrusionDepth: CGFloat; message 'extrusionDepth';
  196. procedure setString(newValue: id); message 'setString:';
  197. function string_: id; message 'string';
  198. procedure setFont(newValue: NSFont); message 'setFont:';
  199. function font: NSFont; message 'font';
  200. procedure setWrapped(newValue: ObjCBOOL); message 'setWrapped:';
  201. function isWrapped: ObjCBOOL; message 'isWrapped';
  202. procedure setContainerFrame(newValue: CGRect); message 'setContainerFrame:';
  203. function containerFrame: CGRect; message 'containerFrame';
  204. function textSize: CGSize; message 'textSize';
  205. procedure setTruncationMode(newValue: NSString); message 'setTruncationMode:';
  206. function truncationMode: NSString; message 'truncationMode';
  207. procedure setAlignmentMode(newValue: NSString); message 'setAlignmentMode:';
  208. function alignmentMode: NSString; message 'alignmentMode';
  209. procedure setChamferRadius(newValue: CGFloat); message 'setChamferRadius:';
  210. function chamferRadius: CGFloat; message 'chamferRadius';
  211. procedure setChamferSegmentCount(newValue: NSInteger); message 'setChamferSegmentCount:';
  212. function chamferSegmentCount: NSInteger; message 'chamferSegmentCount';
  213. procedure setChamferProfile(newValue: NSBezierPath); message 'setChamferProfile:';
  214. function chamferProfile: NSBezierPath; message 'chamferProfile';
  215. procedure setFlatness(newValue: CGFloat); message 'setFlatness:';
  216. function flatness: CGFloat; message 'flatness';
  217. end;
  218. {$endif}
  219. {$ifdef TYPES}
  220. type
  221. SCNChamferMode = NSInteger;
  222. SCNChamferModePtr = ^SCNChamferMode;
  223. const
  224. SCNChamferModeBoth = 0;
  225. SCNChamferModeFront = 1;
  226. SCNChamferModeBack = 2;
  227. {$endif}
  228. {$ifdef CLASSES}
  229. type
  230. SCNShape = objcclass external (SCNGeometry)
  231. private
  232. _reserved: id;
  233. public
  234. class function shapeWithPath_extrusionDepth (path: NSBezierPath; extrusionDepth: CGFloat): instancetype; message 'shapeWithPath:extrusionDepth:';
  235. procedure setPath(newValue: NSBezierPath); message 'setPath:';
  236. function path: NSBezierPath; message 'path';
  237. procedure setExtrusionDepth(newValue: CGFloat); message 'setExtrusionDepth:';
  238. function extrusionDepth: CGFloat; message 'extrusionDepth';
  239. procedure setChamferMode(newValue: SCNChamferMode); message 'setChamferMode:';
  240. function chamferMode: SCNChamferMode; message 'chamferMode';
  241. procedure setChamferRadius(newValue: CGFloat); message 'setChamferRadius:';
  242. function chamferRadius: CGFloat; message 'chamferRadius';
  243. procedure setChamferProfile(newValue: NSBezierPath); message 'setChamferProfile:';
  244. function chamferProfile: NSBezierPath; message 'chamferProfile';
  245. end;
  246. {$endif}