getPointCount.lua 475 B

12345678910111213141516171819202122232425
  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. count = {
  9. type = 'number',
  10. description = 'The number of control points.'
  11. }
  12. },
  13. variants = {
  14. {
  15. arguments = {},
  16. returns = { 'count' }
  17. }
  18. },
  19. related = {
  20. 'Curve:getPoint',
  21. 'Curve:setPoint',
  22. 'Curve:addPoint',
  23. 'Curve:removePoint'
  24. }
  25. }