Show / Hide Table of Contents

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
System.Uri modelSource

URI of the model.

Returns
Type Description
System.Threading.Tasks.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
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.2 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8

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
System.Uri modelSource

URI of the model.

System.Double scale

Scaling factor to apply to the model

Returns
Type Description
System.Threading.Tasks.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
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.2 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
Relevant samples
Choose camera controller: Control the behavior of the camera in a scene.
In This Article
Back to top Copyright © 2022 Esri.