Method CreateAsync
CreateAsync(Uri)
Creates a new instance of a model marker symbol.
Declaration
public static async Task<ModelSceneSymbol> CreateAsync(Uri modelSource)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | modelSource | URI of the model. |
Returns
| Type | Description |
|---|---|
| Task<ModelSceneSymbol> | The task object representing the asynchronous create operation. The value of the task result is a ModelSceneSymbol object. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |
CreateAsync(Uri, Double)
Creates a new instance of a model marker symbol.
Declaration
public static async Task<ModelSceneSymbol> CreateAsync(Uri modelSource, double scale)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | modelSource | URI of the model. |
| System.Double | scale | Scaling factor to apply to the model |
Returns
| Type | Description |
|---|---|
| Task<ModelSceneSymbol> | The task object representing the asynchronous create operation. The value of the task result is a ModelSceneSymbol object. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |