s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Components
CableComponent
chevron_left Components
class
CableComponent

Constructors

functionsCableComponent

Properties

data_objectCapEndsdata_objectControlPointsdata_objectLegacyFakeSlackdata_objectMaterialdata_objectPathDetaildata_objectSizedata_objectSlackdata_objectSubdivisionsdata_objectTextureOffsetAlongPathdata_objectTextureOffsetCircumferencedata_objectTextureOrientationdata_objectTextureRepeatsCircumferencedata_objectTextureScale

Methods

functionsMakeEditableMesh
CableComponent
Non-destructive cable data + mesh generation.
class Sandbox .account_tree extends Component
sealedSandbox.Engine

build Constructors 1

CableComponent ()

data_object Properties 13

CapEnds
bool
ControlPoints
Vector3[]
LegacyFakeSlack
float
Material
Material
PathDetail
int
Size
float
Slack
float
Subdivisions
int
TextureOffsetAlongPath
float
TextureOffsetCircumference
float
TextureOrientation
CableTextureOrientation
TextureRepeatsCircumference
float
TextureScale
float

functions Methods 1

MakeEditableMesh ()

Inheritance

Component
CableComponent
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter