AssetServiceクラス
ひとことで言うと
AssetServiceは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):A non-replicated service that handles asset-related queries to the Roblox web API.
クラスの関係
メソッド(21)
| 名前と書き方 | 説明 |
|---|---|
ComposeDecalAsyncAssetService:ComposeDecalAsync(decal: Decal, layers: Array): () | Modifies an existing Decal to contain a composite PBR textures created by layering the provided textures in the order they are provided in the layers array. Textures layer based on the alpha value of the color map. |
CreateAssetAsyncAssetService:CreateAssetAsync(object: Object, assetType: AssetType, requestParameters: Dictionary): Tuple | Uploads a new asset to Roblox from the given object. |
CreateAssetVersionAsyncAssetService:CreateAssetVersionAsync(object: Object, assetType: AssetType, assetId: int64, requestParameters: Dictionary): Tuple | Uploads a new version for an existing asset from the given object. |
CreateDataModelContentAsyncAssetService:CreateDataModelContentAsync(content: Content, options: Dictionary?): Tuple | Creates ephemeral, DataModel-scoped content from the provided content input. |
CreateDecalAsyncAssetService:CreateDecalAsync(content: Dictionary): Decal | Creates a new Decal object using the provided EditableImage content maps. |
CreateEditableImageAssetService:CreateEditableImage(editableImageOptions: Dictionary?): EditableImage | Creates a new EditableImage. |
CreateEditableImageAsyncAssetService:CreateEditableImageAsync(content: Content, editableImageOptions: Dictionary?): EditableImage | Creates a new EditableImage object populated with the given image. |
CreateEditableMeshAssetService:CreateEditableMesh(editableMeshOptions: Dictionary?): EditableMesh | Creates a new, empty EditableMesh. |
CreateEditableMeshAsyncAssetService:CreateEditableMeshAsync(content: Content, editableMeshOptions: Dictionary?): EditableMesh | Returns a new EditableMesh object created from an existing mesh content ID. |
CreateMeshPartAsyncAssetService:CreateMeshPartAsync(meshContent: Content, options: Dictionary): MeshPart | Creates a new MeshPart with a specified mesh ID and an optional table of fidelity values. |
CreatePlaceAsyncAssetService:CreatePlaceAsync(placeName: string, templatePlaceID: int64, description: string): int64 | Clones a place through the given templatePlaceID. |
CreateSurfaceAppearanceAsyncAssetService:CreateSurfaceAppearanceAsync(content: Dictionary): SurfaceAppearance | Creates a new SurfaceAppearance object using the provided content maps. |
GetAssetIdsForPackageAsyncAssetService:GetAssetIdsForPackageAsync(packageAssetId: int64): Array | Returns an array of asset IDs that are contained in a specified package. |
GetAudioMetadataAsyncAssetService:GetAudioMetadataAsync(idList: Array): Array | Provides relevant metadata about a specific audio source. |
GetBundleDetailsAsyncAssetService:GetBundleDetailsAsync(bundleId: int64): Dictionary | Returns details of the contents of specified bundle. |
GetGamePlacesAsyncAssetService:GetGamePlacesAsync(): Instance | Returns a StandardPages object which contains the name and Class.DataModel.PlaceId|PlaceId of places within the current experience. |
LoadAssetAsyncAssetService:LoadAssetAsync(assetId: int64): Instance | Loads a Model instance given its asset ID. This is the modern replacement for Class.InsertService:LoadAsset() and supports loading third-party assets. |
PromptCreatePlatformContentAsyncAssetService:PromptCreatePlatformContentAsync(player: Player, object: Object, assetType: AssetType): Tuple | Allows in-experience asset creation for users by prompting a publish dialog. |
PromptImportAnimationClipFromVideoAsyncAssetService:PromptImportAnimationClipFromVideoAsync(player: Player, progressCallback: Function): Tuple | Prompts the specified player to select and upload a video, which is then converted into an AnimationClip. |
SavePlaceAsyncAssetService:SavePlaceAsync(requestParameters: Dictionary?): () | Saves the state of the current place. |
SearchAudioAsyncAssetService:SearchAudioAsync(searchParameters: AudioSearchParams): AudioPages | Finds audio assets matching a variety of search criteria. |
受け継いでいるメンバー
Instance から受け継いでいるもの(46)
Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged
Object から受け継いでいるもの(4)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(AssetService)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。