s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
input
Log in with Steam
Api
Components
HammerMesh
chevron_left
Components
class
HammerMesh
Constructors
functions
HammerMesh
Properties
data_object
Friction
data_object
IsTrigger
data_object
Model
data_object
OnTriggerEnter
data_object
OnTriggerExit
data_object
RenderType
data_object
Static
data_object
Surface
data_object
SurfaceVelocity
data_object
Tint
data_object
UseCollision
data_object
UseRenderer
Methods
lock
OnDisabled
lock
OnEnabled
HammerMesh
Added automatically by Hammer to GameObjects that have a map mesh tied to them. When a map is compiled the Model property is populated by the generated model.
class
Sandbox
.
account_tree
extends
Component
Sandbox.Engine
build
Constructors
1
HammerMesh
(
)
data_object
Properties
12
Friction
Nullable`1
IsTrigger
bool
Model
Model
Gets populated at compile time, will be valid when loading from compiled map
OnTriggerEnter
Action`1
Called when a collider enters this trigger
OnTriggerExit
Action`1
Called when a collider exits this trigger
RenderType
ShadowRenderType
Static
bool
Surface
Surface
SurfaceVelocity
Vector3
Set the local velocity of the surface so things can slide along it, like a conveyor belt
Tint
Color
UseCollision
bool
UseRenderer
bool
functions
Methods
2
OnDisabled
(
)
OnEnabled
(
)
Inheritance
Component
HammerMesh
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.