s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
voting
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
Voting is open. Play the entries and pick the winner.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
input
Log in with Steam
Api
Classes
ConnectVerticesResult
chevron_left
Classes
enum
ConnectVerticesResult
Static Fields
crop_din
AlreadyConnected
crop_din
BothVerticesInternal
crop_din
InvalidVertices
crop_din
NoSharedFace
crop_din
OutsideFace
crop_din
Success
ConnectVerticesResult
Why a pair of vertices can't be connected by Sandbox.PolygonMesh.ConnectVertices(HalfEdgeMesh.VertexHandle,HalfEdgeMesh.VertexHandle,HalfEdgeMesh.HalfEdgeHandle@).
enum
Sandbox.PolygonMesh
.
sealed
Sandbox.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.