| 1234567891011121314151617181920212223242526272829303132333435363738 |
- return {
- summary = 'Set a control point of the Curve.',
- description = 'Changes the position of a control point on the Curve.',
- arguments = {
- index = {
- type = 'number',
- description = 'The index to modify.'
- },
- x = {
- type = 'number',
- description = 'The new x coordinate.'
- },
- y = {
- type = 'number',
- description = 'The new y coordinate.'
- },
- z = {
- type = 'number',
- description = 'The new z coordinate.'
- }
- },
- returns = {},
- variants = {
- {
- arguments = { 'index', 'x', 'y', 'z' },
- returns = {}
- }
- },
- 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:getPoint',
- 'Curve:addPoint',
- 'Curve:removePoint'
- }
- }
|