Script v1.7.1.0
- AI
- Animals
- Contracts
- Debug
- Economy
- Effects
- Events
- Farms
- GUI
- Handtools
- I3d
- Materials
- Misc
- Objects
- Placeables
- Player
- Shop
- Sounds
- Specializations
- Triggers
- Utils
- Vehicles
- Weather
Engine v1.7.1.0
- AI
- Animation
- Camera
- Entity
- Fillplanes
- General
- I3D
- Input
- Lighting
- Math
- Network
- Node
- Overlays
- Particle System
- Physics
- Rendering
- Scenegraph
- Shape
- Sound
- Spline
- String
- Terrain Detail
- Text Rendering
- Tire Track
- XML
- general
Foundation Reference
PolygonChain
DescriptionA polygon chain datastructureFunctions
delete
DescriptionDeletes data gridDefinition
delete()Code
30 | function PolygonChain:delete() |
31 | self.controlNodes = nil |
32 | end |
new
DescriptionCreating data gridDefinition
new(integer numRows, integer numColumns, table customMt)Arguments
integer | numRows | number of rows |
integer | numColumns | number of columns |
table | customMt | custom metatable |
table | instance | instance of object |
19 | function PolygonChain:new(customMt) |
20 | local self = {} |
21 | setmetatable(self, customMt or PolygonChain_mt) |
22 | |
23 | self.controlNodes = {} |
24 | |
25 | return self |
26 | end |