| 123456789101112131415161718192021222324252627282930313233343536373839 |
- return {
- summary = 'Get a control point of the Curve.',
- description = 'Returns a control point of the Curve.',
- arguments = {
- index = {
- type = 'number',
- description = 'The index to retrieve.'
- }
- },
- returns = {
- x = {
- type = 'number',
- description = 'The x coordinate of the control point.'
- },
- y = {
- type = 'number',
- description = 'The y coordinate of the control point.'
- },
- z = {
- type = 'number',
- description = 'The z coordinate of the control point.'
- }
- },
- variants = {
- {
- arguments = { 'index' },
- returns = { 'x', 'y', 'z' }
- }
- },
- notes = [[
- An error will be thrown if the index is less than one or more than the number of control points.
- ]],
- related = {
- 'Curve:getPointCount',
- 'Curve:setPoint',
- 'Curve:addPoint',
- 'Curve:removePoint'
- }
- }
|