s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Editor Classes
Hammer
CurrentMaterial
chevron_left
Editor Classes
class
Hammer
Static Properties
data_object
ActiveMap
data_object
ActiveMapView
data_object
BuildLog
data_object
BuildStatus
data_object
Commands
data_object
CompiledMapPath
data_object
CurrentMaterial
data_object
HasUnsavedChanges
data_object
IsBuildingMap
data_object
MapAsset
data_object
MapViews
data_object
Open
data_object
Window
Static Methods
functions
AssignAssetToSelection
functions
BuildMap
functions
ReloadFromFile
functions
RunCommand
functions
Save
functions
SelectFacesUsingMaterial
functions
SelectObjectsUsingAsset
functions
SetCurrentMaterial
functions
ShowEntityReportForAsset
CurrentMaterial
Current Material - you can set this programmatically with Editor.MapEditor.Hammer.SetCurrentMaterial(Editor.Asset)
property
static
static
Material
CurrentMaterial
{
get
;
set
;
}
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.