s&
info
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
explore
Discover Games
category
Workshop
sports_esports
Games
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
menu_book
Learn
docs
Documentation
api
Api Reference
school
Tutorials
manage_search
Code Search
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Editor Classes
PrimitiveBuilder
chevron_left
Editor Classes
class
PrimitiveBuilder
Constructors
lock
PrimitiveBuilder
Properties
data_object
Is2D
data_object
Material
Methods
functions
Build
functions
SetFromBox
PrimitiveBuilder
Build primitives out of polygons.
class
Editor.MeshEditor
.
abstract
Sandbox.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.