Roblox API Reference

InsertService On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.

Tags: [NotCreatable, Service]

Inherits (1)

Member index (20)

Type Member History
bool AllowClientInsertModels 349
bool AllowInsertFreeModels 224 259
void ApproveAssetId (int64 assetId) 49 319
void ApproveAssetVersionId (int64 assetVersionId) 49 319
MeshPart CreateMeshPartAsync (Content meshId, CollisionFidelity collisionFidelity, RenderFidelity renderFidelity) 453 452 454 484
Array GetBaseCategories () 55
Array GetBaseSets ()
Array GetCollection (int64 categoryId) 319
Array GetFreeDecals (string searchText, int pageNum)
Array GetFreeModels (string searchText, int pageNum)
int64 GetLatestAssetVersionAsync (int64 assetId) 207 319 319
Array GetUserCategories (int64 userId) 55 319
Array GetUserSets (int64 userId) 319
void Insert (Instance instance) 208
Instance LoadAsset (int64 assetId) 319
Instance LoadAssetVersion (int64 assetVersionId) 319
Instance LoadLocalAsset (string assetPath) 319
Objects LoadPackageAsset (Content url) 353
Objects LoadPackageAssetAsync (Content url) 459 458 459
Instance loadAsset (int64 assetId) 68 319
51 members inherited from Instance

Removed member index (11)

Type Member History
void SetAdvancedResults (bool enable, bool user = false) 311
void SetAssetUrl (string assetUrl) 311
void SetAssetVersionUrl (string assetVersionUrl) 311
void SetBaseCategoryUrl (string baseSetsUrl) 311
void SetBaseSetsUrl (string baseSetsUrl) 311
void SetCollectionUrl (string collectionUrl) 311
void SetFreeDecalUrl (string freeDecalUrl) 311
void SetFreeModelUrl (string freeModelUrl) 311
void SetTrustLevel (float trustLevel) 311
void SetUserCategoryUrl (string userSetsUrl) 311
void SetUserSetsUrl (string userSetsUrl) 311

History

Members

AllowClientInsertModels On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

AllowInsertFreeModels On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
This item is not browsable. It is not visible in Studio's object browser.
This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [NotReplicated, NotBrowsable, Deprecated]

ApproveAssetId On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
assetId int64 none

History

Tags: [Deprecated]

ApproveAssetVersionId On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
assetVersionId int64 none

History

Tags: [Deprecated]

CreateMeshPartAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
meshId Content none
collisionFidelity CollisionFidelity none
renderFidelity RenderFidelity none

History

Tags: [Yields]

GetBaseCategories On DevHub

This function yields. It will block the calling thread until completion.
This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
No parameters.

History

Tags: [Yields, Deprecated]

GetBaseSets On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
No parameters.

Tags: [Yields]

GetCollection On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
categoryId int64 none

History

Tags: [Yields]

GetFreeDecals On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
searchText string none
pageNum int none

Tags: [Yields]

GetFreeModels On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
searchText string none
pageNum int none

Tags: [Yields]

GetLatestAssetVersionAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
assetId int64 none

History

Tags: [Yields]

GetUserCategories On DevHub

This function yields. It will block the calling thread until completion.
This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
userId int64 none

History

Tags: [Yields, Deprecated]

GetUserSets On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
userId int64 none

History

Tags: [Yields]

Insert On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
instance Instance none

History

Tags: [Deprecated]

LoadAsset On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
assetId int64 none

History

Tags: [Yields]

LoadAssetVersion On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
assetVersionId int64 none

History

Tags: [Yields]

LoadLocalAsset On DevHub

Name Type Default
assetPath string none

History

LoadPackageAsset On DevHub

Name Type Default
url Content none

History

LoadPackageAssetAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
url Content none

History

Tags: [Yields]

loadAsset On DevHub

This function yields. It will block the calling thread until completion.
This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
assetId int64 none

History

Tags: [Yields, Deprecated]

Removed members

SetAdvancedResults

Name Type Default
enable bool none
user bool false

History

SetAssetUrl

Name Type Default
assetUrl string none

History

SetAssetVersionUrl

Name Type Default
assetVersionUrl string none

History

SetBaseCategoryUrl

Name Type Default
baseSetsUrl string none

History

SetBaseSetsUrl

Name Type Default
baseSetsUrl string none

History

SetCollectionUrl

Name Type Default
collectionUrl string none

History

SetFreeDecalUrl

Name Type Default
freeDecalUrl string none

History

SetFreeModelUrl

Name Type Default
freeModelUrl string none

History

SetTrustLevel

Name Type Default
trustLevel float none

History

SetUserCategoryUrl

Name Type Default
userSetsUrl string none

History

SetUserSetsUrl

Name Type Default
userSetsUrl string none

History

Relevant classes (2)

Relevant enums (2)