Class CityImporter
GMLファイルに記載された都市モデルを Unity にインポートします。
Inheritance
System.Object
CityImporter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PLATEAU.CityImport.Import
Assembly: cs.temp.dll.dll
Syntax
public static class CityImporter
Methods
ImportAsync(CityImportConfig, IProgressDisplay, Nullable<CancellationToken>)
CityImporter クラスのメインメソッドです。 GMLファイルから都市モデルを読み、そのメッシュをUnity向けに変換してシーンに配置します。 メインスレッドで呼ぶ必要があります。
Declaration
public static async Task ImportAsync(CityImportConfig config, IProgressDisplay progressDisplay, CancellationToken? token)
Parameters
Type | Name | Description |
---|---|---|
CityImportConfig | config | |
IProgressDisplay | progressDisplay | |
System.Nullable<CancellationToken> | token |
Returns
Type | Description |
---|---|
Task |