s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
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
Classes
BeamInstance
chevron_left
Classes
class
BeamInstance
search
Constructors
functions
BeamInstance
Fields
crop_din
EndPosition
crop_din
RandomSeed
crop_din
Renderer
crop_din
StartPosition
crop_din
TimeBorn
crop_din
TimeDie
Properties
data_object
Delta
Methods
functions
Destroy
BeamInstance
Represents an individual beam instance within the effect.
class
Sandbox.BeamEffect
.
Sandbox.Engine
build
Constructors
1
BeamInstance
(
)
crop_din
Fields
6
EndPosition
Vector3
End position of the beam in world space.
RandomSeed
int
Random seed used to generate consistent random values for this beam instance.
Renderer
LineRenderer
LineRenderer component used to render the beam visually.
StartPosition
Vector3
Start position of the beam in world space.
TimeBorn
float
Time when the beam was created (born).
TimeDie
float
Time when the beam will expire (die).
data_object
Properties
1
Delta
float
Returns the normalized lifetime of the beam, ranging from 0 (just born) to 1 (expired).
functions
Methods
1
Destroy
(
)
Destroys the beam instance, cleaning up its resources.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.