s&
infoAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games exploreDiscover Games
categoryWorkshop
sports_esportsGames landscapeMaps view_in_arModels textureMaterials apparelClothing constructionMore..
forumForum menu_bookLearn
docsDocumentation apiApi Reference schoolTutorials manage_searchCode Search
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
Editor Classes
PrimitiveBuilder
chevron_left Editor Classes
class
PrimitiveBuilder

Constructors

lockPrimitiveBuilder

Properties

data_objectIs2Ddata_objectMaterial

Methods

functionsBuildfunctionsSetFromBox
PrimitiveBuilder
Build primitives out of polygons.
class Editor.MeshEditor .
abstractSandbox.Tools

build Constructors 1

PrimitiveBuilder ()

data_object Properties 2

Is2D
bool
If this primitive is 2D the bounds box will be limited to have no depth.
Material
Material
The material to use for this whole primitive. Loaded on demand so builders can be created without the render system.

functions Methods 2

Build (mesh)
Create the primitive in the mesh.
SetFromBox (box)
Setup properties from box.
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