Skip to content

KBE3D / KBCore / Cesium / Resource / ConstructorOptions

接口: ConstructorOptions

Initialization options for the Resource constructor

属性

url

url: string

The url of the resource.


queryParameters?

optional queryParameters: any

An object containing query parameters that will be sent when retrieving the resource.


templateValues?

optional templateValues: any

Key/Value pairs that are used to replace template values (eg. {x}).


headers?

optional headers: any

Additional HTTP headers that will be sent.


proxy?

optional proxy: Proxy

A proxy to be used when loading the resource.


retryCallback?

optional retryCallback: RetryCallback

The Function to call when a request for this resource fails. If it returns true, the request will be retried.


retryAttempts?

optional retryAttempts: number

The number of times the retryCallback should be called before giving up.


request?

optional request: Request

A Request object that will be used. Intended for internal use only.


parseUrl?

optional parseUrl: boolean

If true, parse the url for query parameters; otherwise store the url without change

KBE3D @3.0.0 Copyright © 2024-present KBE3D