AssetImportService
This class is not replicated. Its interface does not cross the network boundary.
This class is not creatable. Instances of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
Memory category | Instances |
---|
Member index 10
Removed member index 17
History | Member | |
---|---|---|
540 | Cancel(): void | |
597 | GetAllTemplates(): Map | |
540 | GetCurrentImportMap(): Dictionary | |
491 | GetInstanceMap(fileName: string): Dictionary | |
597 | GetTemplate(name: string): Map | |
540 | ImportMesh(fileName: string): Tuple | |
540 | ImportMeshWithPrompt(): Tuple | |
540 | IsAvatar(): bool | |
642 | PickFileWithPrompt(): string | |
597 | RemoveTemplate(name: string): null | |
597 | SaveTemplate(name: string, importTemplate: Dictionary): null | |
502 | UpdateSettings(settings: Instance): void | |
540 | Upload(): void | |
495 | UploadCurrentMesh(): void | |
540 | ProgressUpdate(progressRatio: float) | |
523 | SettingsChanged(property: string) | |
540 | UploadFinished(succeeded: bool, errorMap: Dictionary) |
Description
History 52
- 642 Add PickMeshFileWithPrompt
- 642 Add PickImageFileWithPrompt
- 642 Remove PickFileWithPrompt
- 640 Add StartSessionWithPathAsync
- 619 Change ReturnType of GetPreset from Map to Dictionary
- 619 Change ReturnType of GetAllPresets from Map to Dictionary
- 597 Remove SaveTemplate
- 597 Add SavePreset
- 597 Remove RemoveTemplate
- 597 Add RemovePreset
- 597 Remove GetTemplate
- 597 Add GetPreset
- 597 Remove GetAllTemplates
- 597 Add GetAllPresets
- 578 Add SaveTemplate
- 578 Add RemoveTemplate
- 578 Add GetTemplate
- 578 Add GetAllTemplates
- 563 Add StartSessionWithPath
- 563 Add PickMultipleFilesWithPrompt
- 540 Remove UploadFinished
- 540 Remove ProgressUpdate
- 540 Remove Upload
- 540 Remove IsAvatar
- 540 Remove ImportMeshWithPrompt
- 540 Remove ImportMesh
- 540 Remove GetCurrentImportMap
- 540 Remove Cancel
- 539 Add PickFileWithPrompt
- 534 Add StartSessionWithPrompt
- 526 Add Cancel
- 523 Remove SettingsChanged
- 505 Change Parameters of UploadFinished from (succeeded: bool) to (succeeded: bool, errorMap: Dictionary)
- 504 Add UploadFinished
- 504 Add ProgressUpdate
- 502 Add SettingsChanged
- 502 Remove UpdateSettings
- 500 Add IsAvatar
- 495 Remove UploadCurrentMesh
- 495 Add Upload
- 494 Add UpdateSettings
- 493 Add UploadCurrentMesh
- 491 Change ReturnType of ImportMeshWithPrompt from AssetImportSettings to Tuple
- 491 Change ReturnType of ImportMesh from AssetImportSettings to Tuple
- 491 Remove GetInstanceMap
- 491 Add GetCurrentImportMap
- 488 Add GetInstanceMap
- 485 Change ReturnType of ImportMeshWithPrompt from Dictionary to AssetImportSettings
- 485 Change ReturnType of ImportMesh from Dictionary to AssetImportSettings
- 484 Add ImportMeshWithPrompt
- 484 Add ImportMesh
- 484 Add AssetImportService
Members 10
GetAllPresets
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Dictionary |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 619 Change ReturnType of GetAllPresets from Map to Dictionary
- 597 Add GetAllPresets
GetPreset
Parameters (1) | ||
---|---|---|
name | string | |
Returns (1) | ||
Dictionary |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
PickImageFileWithPrompt
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
string |
This function yields. It will block the calling thread until completion.
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
PickMeshFileWithPrompt
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
string |
This function yields. It will block the calling thread until completion.
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
PickMultipleFilesWithPrompt
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Array |
This function yields. It will block the calling thread until completion.
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
RemovePreset
Parameters (1) | ||
---|---|---|
name | string | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 597 Add RemovePreset
SavePreset
Parameters (2) | ||
---|---|---|
name | string | |
preset | Dictionary | |
Returns (1) | ||
bool |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 597 Add SavePreset
StartSessionWithPath
Parameters (1) | ||
---|---|---|
filePath | string | |
Returns (1) | ||
AssetImportSession |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
StartSessionWithPathAsync
Parameters (1) | ||
---|---|---|
filePath | string | |
Returns (1) | ||
AssetImportSession |
This function yields. It will block the calling thread until completion.
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
StartSessionWithPrompt
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
AssetImportSession |
This function yields. It will block the calling thread until completion.
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
Removed members 17
Cancel
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
void |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
GetAllTemplates
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Map |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 597 Remove GetAllTemplates
- 578 Add GetAllTemplates
GetCurrentImportMap
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Dictionary |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 540 Remove GetCurrentImportMap
- 491 Add GetCurrentImportMap
GetInstanceMap
Parameters (1) | ||
---|---|---|
fileName | string | |
Returns (1) | ||
Dictionary |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 491 Remove GetInstanceMap
- 488 Add GetInstanceMap
GetTemplate
Parameters (1) | ||
---|---|---|
name | string | |
Returns (1) | ||
Map |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 597 Remove GetTemplate
- 578 Add GetTemplate
ImportMesh
Parameters (1) | ||
---|---|---|
fileName | string | |
Returns (1) | ||
Tuple |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 4
- 540 Remove ImportMesh
- 491 Change ReturnType of ImportMesh from AssetImportSettings to Tuple
- 485 Change ReturnType of ImportMesh from Dictionary to AssetImportSettings
- 484 Add ImportMesh
ImportMeshWithPrompt
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Tuple |
This function yields. It will block the calling thread until completion.
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 4
- 540 Remove ImportMeshWithPrompt
- 491 Change ReturnType of ImportMeshWithPrompt from AssetImportSettings to Tuple
- 485 Change ReturnType of ImportMeshWithPrompt from Dictionary to AssetImportSettings
- 484 Add ImportMeshWithPrompt
IsAvatar
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
bool |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
PickFileWithPrompt
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
string |
This function yields. It will block the calling thread until completion.
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 642 Remove PickFileWithPrompt
- 539 Add PickFileWithPrompt
ProgressUpdate
Parameters (1) | |
---|---|
progressRatio | float |
Thread safety | Unsafe |
---|
History 2
- 540 Remove ProgressUpdate
- 504 Add ProgressUpdate
RemoveTemplate
Parameters (1) | ||
---|---|---|
name | string | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 597 Remove RemoveTemplate
- 578 Add RemoveTemplate
SaveTemplate
Parameters (2) | ||
---|---|---|
name | string | |
importTemplate | Dictionary | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 597 Remove SaveTemplate
- 578 Add SaveTemplate
SettingsChanged
Parameters (1) | |
---|---|
property | string |
Thread safety | Unsafe |
---|
History 2
- 523 Remove SettingsChanged
- 502 Add SettingsChanged
UpdateSettings
Parameters (1) | ||
---|---|---|
settings | Instance | |
Returns (1) | ||
void |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 502 Remove UpdateSettings
- 494 Add UpdateSettings
Upload
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
void |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
UploadCurrentMesh
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
void |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 495 Remove UploadCurrentMesh
- 493 Add UploadCurrentMesh
UploadFinished
Parameters (2) | |
---|---|
succeeded | bool |
errorMap | Dictionary |
Thread safety | Unsafe |
---|
History 3
- 540 Remove UploadFinished
- 505 Change Parameters of UploadFinished from (succeeded: bool) to (succeeded: bool, errorMap: Dictionary)
- 504 Add UploadFinished