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
Classes
ShotEffect
chevron_left
Classes
struct
ShotEffect
Constructors
functions
ShotEffect
Properties
data_object
Hit
data_object
HitObject
data_object
HitPosition
data_object
NoEvents
data_object
Normal
data_object
Origin
data_object
Surface
Methods
functions
Deconstruct
ShotEffect
A resolved shot's presentation data - the muzzle Sandbox.BaseWeapon.ShotEffect.Origin (for the tracer, null uses the muzzle transform) and the hit result (for the impact). Handed to Sandbox.BaseWeapon.OnShootEffects(Sandbox.BaseWeapon.ShotEffect).
struct
Sandbox.BaseWeapon
.
sealed
Sandbox.Engine
build
Constructors
1
ShotEffect
(
HitPosition
,
Hit
,
Normal
,
HitObject
,
Surface
,
Origin
,
NoEvents
)
data_object
Properties
7
Hit
bool
HitObject
GameObject
HitPosition
Vector3
NoEvents
bool
Normal
Vector3
Origin
Nullable`1
Surface
Surface
functions
Methods
1
Deconstruct
(
HitPosition
,
Hit
,
Normal
,
HitObject
,
Surface
,
Origin
,
NoEvents
)
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.