s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
MeshComponent
chevron_left Classes
class
MeshComponent

Constructors

functionsMeshComponent

Properties

data_objectCollisiondata_objectColordata_objectHideInGamedata_objectIsConcavedata_objectMeshdata_objectModeldata_objectRenderTypedata_objectSmoothingAngle

Methods

functionsGetMaterialfunctionsRebuildMeshfunctionsSetMaterial
MeshComponent
An editable polygon mesh with collision
class Sandbox .account_tree extends Collider
sealedSandbox.Engine

build Constructors 1

MeshComponent ()

data_object Properties 8

Collision
CollisionType
Color
Color
HideInGame
bool
IsConcave
bool
Mesh
PolygonMesh
Model
Model
RenderType
ShadowRenderType
SmoothingAngle
float

functions Methods 3

GetMaterial (triangle)
Material
RebuildMesh ()
SetMaterial (material, triangle)

Inheritance

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