Roblox API Reference

AssetService 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 (18)

Type Member History
EditableImage CreateEditableImageAsync (Content textureId) 601
EditableMesh CreateEditableMeshAsync (Content meshId) 602
EditableMesh CreateEditableMeshFromPartAsync (Instance meshPart) 602
int64 CreatePlaceAsync (string placeName, int64 templatePlaceID, string description = ) 138 315 325
int64 CreatePlaceInPlayerInventoryAsync (Instance player, string placeName, int64 templatePlaceID, string description = ) 138 315 325
Instance DeserializeInstance (string serializedInstance) 583
Array GetAssetIdsForPackage (int64 packageAssetId) 268 315
Dictionary GetBundleDetailsAsync (int64 bundleId) 360
Dictionary GetBundleDetailsSync (int64 bundleId) 375
int64 GetCreatorAssetID (int64 creationID) 122 292 319 325
Instance GetGamePlacesAsync () 163
Tuple PromptCreateAssetAsync (Player player, Instance instance, AssetType assetType) 587
Tuple PromptImportAnimationClipFromVideoAsync (Player player, Function progressCallback) 594
null RegisterUGCValidationFunction (Function function) 589
null SavePlaceAsync () 138 573
AudioPages SearchAudio (AudioSearchParams searchParameters) 568
OpenCreateResultModal (PromptCreateAssetResult resultType) 587
OpenPublishResultModal (PromptPublishAssetResult resultType) 567
57 members inherited from Instance

Removed member index (13)

Type Member History
DynamicImage CreateDynamicImageAsync (Content textureId) 591 601
DynamicMesh CreateDynamicMeshAsync (Content meshId) 593 602
Tuple GetAssetThumbnailAsync (int64 assetId, Vector2 thumbnailSize, int assetType = 0) 312 311 312 315 558
Dictionary GetAssetVersions (int placeId, int pageNum = 1) 319
Dictionary GetPlacePermissions (int placeId) 319
DynamicImage LoadImageAsync (Content textureId) 583 591
Tuple PromptPublishAssetAsync (Player player, Instance instance, AssetType assetType) 567 587
bool RevertAsset (int placeId, int versionNumber) 319
void SetAssetRevertUrl (string revertUrl) 310
void SetAssetVersionsUrl (string versionsUrl) 310
void SetPlaceAccessUrl (string accessUrl) 310
bool SetPlacePermissions (int placeId, AccessType accessType = Everyone, Array inviteList = {}) 319
DynamicMesh createDynamicMeshFromPartAsync (Instance meshPart) 601 602

History

Members

CreateEditableImageAsync On DevHub

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

History

Tags: [Yields]

CreateEditableMeshAsync On DevHub

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

History

Tags: [Yields]

CreateEditableMeshFromPartAsync On DevHub

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

History

Tags: [Yields]

CreatePlaceAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
placeName string none
templatePlaceID int64 none
description string

History

Tags: [Yields]

CreatePlaceInPlayerInventoryAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
player Instance none
placeName string none
templatePlaceID int64 none
description string

History

Tags: [Yields]

DeserializeInstance On DevHub

Name Type Default
serializedInstance string none

History

GetAssetIdsForPackage On DevHub

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

History

Tags: [Yields]

GetBundleDetailsAsync On DevHub

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

History

Tags: [Yields]

GetBundleDetailsSync On DevHub

Name Type Default
bundleId int64 none

History

GetCreatorAssetID 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
creationID int64 none

History

Tags: [Yields, Deprecated]

GetGamePlacesAsync On DevHub

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

History

Tags: [Yields]

OpenCreateResultModal On DevHub

Name Type Default
resultType PromptCreateAssetResult none

History

OpenPublishResultModal On DevHub

Name Type Default
resultType PromptPublishAssetResult none

History

PromptCreateAssetAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
player Player none
instance Instance none
assetType AssetType none

History

Tags: [Yields]

PromptImportAnimationClipFromVideoAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
player Player none
progressCallback Function none

History

Tags: [Yields]

RegisterUGCValidationFunction On DevHub

Name Type Default
function Function none

History

SavePlaceAsync On DevHub

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

History

Tags: [Yields]

SearchAudio On DevHub

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

History

Tags: [Yields]

Removed members

CreateDynamicImageAsync

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

History

Tags: [Yields]

CreateDynamicMeshAsync

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

History

Tags: [Yields]

GetAssetThumbnailAsync

This function yields. It will block the calling thread until completion.
Name Type Default
assetId int64 none
thumbnailSize Vector2 none
assetType int 0

History

Tags: [Yields]

GetAssetVersions

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

History

Tags: [Yields]

GetPlacePermissions

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

History

Tags: [Yields]

LoadImageAsync

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

History

Tags: [Yields]

PromptPublishAssetAsync

This function yields. It will block the calling thread until completion.
Name Type Default
player Player none
instance Instance none
assetType AssetType none

History

Tags: [Yields]

RevertAsset

This function yields. It will block the calling thread until completion.
Name Type Default
placeId int none
versionNumber int none

History

Tags: [Yields]

SetAssetRevertUrl

Name Type Default
revertUrl string none

History

SetAssetVersionsUrl

Name Type Default
versionsUrl string none

History

SetPlaceAccessUrl

Name Type Default
accessUrl string none

History

SetPlacePermissions

This function yields. It will block the calling thread until completion.
Name Type Default
placeId int none
accessType AccessType Everyone
inviteList Array {}

History

Tags: [Yields]

createDynamicMeshFromPartAsync

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

History

Tags: [Yields]

Relevant classes (6)

Relevant enums (3)