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
SceneMap
chevron_left
Classes
class
SceneMap
Constructors
functions
SceneMap
Properties
data_object
Bounds
data_object
IsValid
data_object
MapFolder
data_object
MapName
data_object
World
data_object
WorldOrigin
Methods
functions
Delete
Static Methods
functions
CreateAsync
SceneMap
Map geometry that can be rendered within a Sandbox.SceneWorld.
class
Sandbox
.
sealed
Sandbox.Engine
build
Constructors
1
SceneMap
(
sceneWorld
,
map
)
Create a scene map within a scene world.
data_object
Properties
6
Bounds
BBox
Bounds of the map.
IsValid
bool
Is the map valid.
MapFolder
string
maps/davej/cs_assault
MapName
string
cs_assault
World
SceneWorld
The scene world this map belongs to.
WorldOrigin
Vector3
functions
Methods
1
Delete
(
)
Delete this scene map. You shouldn't access it anymore.
functions
Static Methods
1
CreateAsync
(
sceneWorld
,
map
,
cancelToken
)
Task`1
Create scene map asynchronously for when large maps take time to load.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.