s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamsvoting

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

Voting is open. Play the entries and pick the winner.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
Api
Classes
ConnectVerticesResult
chevron_left Classes
enum
ConnectVerticesResult

Static Fields

crop_dinAlreadyConnectedcrop_dinBothVerticesInternalcrop_dinInvalidVerticescrop_dinNoSharedFacecrop_dinOutsideFacecrop_dinSuccess
ConnectVerticesResult
Why a pair of vertices can't be connected by Sandbox.PolygonMesh.ConnectVertices(HalfEdgeMesh.VertexHandle,HalfEdgeMesh.VertexHandle,HalfEdgeMesh.HalfEdgeHandle@).
enum Sandbox.PolygonMesh .
sealedSandbox.Engine

crop_din Static Fields 6

AlreadyConnected
ConnectVerticesResult
An edge between these two vertices already exists.
BothVerticesInternal
ConnectVerticesResult
Both vertices are internal to a face. Splitting a face needs at least one vertex on its perimeter.
InvalidVertices
ConnectVerticesResult
One of the vertices is invalid, or they're the same vertex.
NoSharedFace
ConnectVerticesResult
The vertices aren't part of the same face, so there's nothing to split. The new edge would have no face attached to it, which this mesh can't represent.
OutsideFace
ConnectVerticesResult
The vertices share a face, but the edge between them would leave that face, which happens on concave faces.
Success
ConnectVerticesResult
A new edge can be created between these two vertices.
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