Types
Link copied to clipboard
interface FromAssetIdOptions
Properties
Link copied to clipboard
The default snap tolerance used by IonSnapService.snap when options.snapAperture is not provided, in CSS pixels of the world-to-view output space. This is SnapService's DEFAULT_SNAP_APERTURE for this implementation.
Functions
Link copied to clipboard
suspend fun fromAssetId(assetId: Int, options: IonSnapService.Companion.FromAssetIdOptions? = definedExternally): IonSnapService
Creates an IonSnapService for the given ion asset, fetching the asset's ECEF transform from the ion REST API.
Link copied to clipboard
fun fromAssetIdAsync(assetId: Int, options: IonSnapService.Companion.FromAssetIdOptions? = definedExternally): Promise<IonSnapService>