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
SceneLineObject
chevron_left Classes
class
SceneLineObject

Constructors

functionsSceneLineObject

Fields

crop_dinMaterial

Properties

remove_circleClampeddata_objectEndCapdata_objectFacedata_objectLightingremove_circleLineTexturedata_objectOpaquedata_objectSamplerStatedata_objectSmoothnessdata_objectStartCapdata_objectTessellationLeveldata_objectWireframe

Methods

functionsAddLinePointfunctionsClearfunctionsEndLinefunctionsRenderSceneObjectfunctionsStartLine
SceneLineObject
A scene object which is used to draw lines
class Sandbox .account_tree extends SceneCustomObject
Sandbox.Engine

build Constructors 1

SceneLineObject (sceneWorld)

crop_din Fields 1

Material
Material

data_object Properties 11

Clamped
obsoletebool
EndCap
CapStyle
Face
FaceMode
Lighting
bool
LineTexture
obsoleteTexture
Opaque
bool
SamplerState
SamplerState
Smoothness
int
StartCap
CapStyle
TessellationLevel
int
Number of tessellation subdivisions across the width of each line segment. 1 = no tessellation (just left and right), 2 = one subdivision in the middle, etc. Higher values create smoother curves and more detailed geometry but use more vertices.
Wireframe
bool

functions Methods 5

AddLinePoint (pos, color, width)
Clear ()
EndLine ()
RenderSceneObject ()
StartLine ()

Inheritance

SceneObject
SceneCustomObject
SceneLineObject
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