getPointCount.lua 407 B

1234567891011121314151617181920
  1. return {
  2. summary = 'Get the number of control points in the Curve.',
  3. description = [[
  4. Returns the number of control points in the Curve.
  5. ]],
  6. arguments = {},
  7. returns = {
  8. {
  9. name = 'count',
  10. type = 'number',
  11. description = 'The number of control points.'
  12. }
  13. },
  14. related = {
  15. 'Curve:getPoint',
  16. 'Curve:setPoint',
  17. 'Curve:addPoint',
  18. 'Curve:removePoint'
  19. }
  20. }