Function
Fast
Cable:SetRenderingSettings
Set the rendering settings of this cable (visuals only)
Syntax
my_cable:SetRenderingSettings(width, num_sides, tile_material)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
width
|
float | — | How wide the cable geometry is. Default is 6 |
num_sides
|
integer | — | Number of sides of the cable geometry. Default is 4 |
tile_material
|
integer | — | How many times to repeat the material along the length of the cable. Default is 1 |