Roblox API Reference

AssetImportService 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.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotCreatable, Service, NotReplicated]

Inherits (1)

Member index (8)

Type Member History
Map GetAllPresets () 597
Map GetPreset (string name) 597
string PickFileWithPrompt () 539
Array PickMultipleFilesWithPrompt () 563
null RemovePreset (string name) 597
bool SavePreset (string name, Dictionary preset) 597
AssetImportSession StartSessionWithPath (string filePath) 563
AssetImportSession StartSessionWithPrompt () 534
57 members inherited from Instance

Removed member index (16)

Type Member History
void Cancel () 526 540
Map GetAllTemplates () 578 597
Dictionary GetCurrentImportMap () 491 540
Dictionary GetInstanceMap (string fileName) 488 491
Map GetTemplate (string name) 578 597
Tuple ImportMesh (string fileName) 485 491 540
Tuple ImportMeshWithPrompt () 485 491 540
bool IsAvatar () 500 540
null RemoveTemplate (string name) 578 597
null SaveTemplate (string name, Dictionary importTemplate) 578 597
void UpdateSettings (Instance settings) 494 502
void Upload () 495 540
void UploadCurrentMesh () 493 495
ProgressUpdate (float progressRatio) 504 540
SettingsChanged (string property) 502 523
UploadFinished (bool succeeded, Dictionary errorMap) 504 505 540

History

Members

GetAllPresets On DevHub

Name Type Default
No parameters.

History

GetPreset On DevHub

Name Type Default
name string none

History

PickFileWithPrompt On DevHub

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

History

Tags: [Yields]

PickMultipleFilesWithPrompt On DevHub

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

History

Tags: [Yields]

RemovePreset On DevHub

Name Type Default
name string none

History

SavePreset On DevHub

Name Type Default
name string none
preset Dictionary none

History

StartSessionWithPath On DevHub

Name Type Default
filePath string none

History

StartSessionWithPrompt On DevHub

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

History

Tags: [Yields]

Removed members

Cancel

Name Type Default
No parameters.

History

GetAllTemplates

Name Type Default
No parameters.

History

GetCurrentImportMap

Name Type Default
No parameters.

History

GetInstanceMap

Name Type Default
fileName string none

History

GetTemplate

Name Type Default
name string none

History

ImportMesh

Name Type Default
fileName string none

History

ImportMeshWithPrompt

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

History

Tags: [Yields]

IsAvatar

Name Type Default
No parameters.

History

ProgressUpdate

Name Type Default
progressRatio float none

History

RemoveTemplate

Name Type Default
name string none

History

SaveTemplate

Name Type Default
name string none
importTemplate Dictionary none

History

SettingsChanged

Name Type Default
property string none

History

UpdateSettings

Name Type Default
settings Instance none

History

Upload

Name Type Default
No parameters.

History

UploadCurrentMesh

Name Type Default
No parameters.

History

UploadFinished

Name Type Default
succeeded bool none
errorMap Dictionary none

History

Relevant classes (1)