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
Classes
ClutterStorage
AddInstance
chevron_left
Classes
class
ClutterStorage
Constructors
functions
ClutterStorage
Properties
data_object
ModelPaths
data_object
TotalCount
data_object
Version
Methods
functions
AddInstance
functions
AddInstances
functions
ApplyWorldTransform
functions
ClearAll
functions
ClearModel
functions
Deserialize
functions
Erase
functions
GetAllInstances
functions
GetInstances
functions
GetReferencedResources
functions
Serialize
AddInstance
Adds a single instance for a model.
method
void
AddInstance
(
string
modelPath
,
Vector3
position
,
Rotation
rotation
,
float
scale
)
Parameters
Name
Type
Description
modelPath
string
position
Vector3
rotation
Rotation
scale
= 1
float
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.