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
voting
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
Voting is open. Play the entries and pick the winner.
£
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
Get s&box
Sign in with Steam
Api
Classes
ResourceLibrary
chevron_left
Classes
class
ResourceLibrary
Static Methods
remove_circle
Get
functions
GetAll
functions
GetThumbnail
functions
LoadAsync
functions
TryGet
ResourceLibrary
Keeps a library of all available Sandbox.Resource.
class
Sandbox
.
static
sealed
abstract
Sandbox.Engine
functions
Static Methods
5
Get
(
identifier
)
obsolete
T
Get a cached resource by its hash.
GetAll
(
)
IEnumerable`1
Get all cached resources of given type.
GetThumbnail
(
path
,
width
,
height
)
Task`1
Render a thumbnail for this resource
LoadAsync
(
path
)
Task`1
Load a resource by its file path.
TryGet
(
filepath
,
resource
)
bool
Try to get a cached resource by its file path.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.