Script v1_7_1_0
- AI
- Animals
- Collections
- Contracts
- Debug
- Economy
- Elements
- EnvironmentalScore
- Errors
- Events
- GUI
- Handtools
- Hud
- I3d
- Input
- Jobs
- Maps
- Materials
- Misc
- Objects
- Parameters
- Placeables
- Placement
- Player
- Shop
- Sounds
- Specialization
- Specializations
- StateMachine
- Statistics
- Tasks
- Triggers
- Utils
- Vehicles
Engine v1_7_1_0
- AI
- Animation
- Camera
- Entity
- Fillplanes
- general
- General
- I3D
- Input
- Lighting
- Math
- Network
- Node
- NoteNode
- Overlays
- Particle System
- Physics
- Rendering
- Scenegraph
- Shape
- Sound
- Spline
- String
- Terrain Detail
- Text Rendering
- Tire Track
- VoiceChat
- XML
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 |