Appearance
KBE3D / KBCore / Cesium / Resource / ConstructorOptions
接口: ConstructorOptions
Initialization options for the Resource constructor
属性
url
url:
string
The url of the resource.
queryParameters?
optionalqueryParameters:any
An object containing query parameters that will be sent when retrieving the resource.
templateValues?
optionaltemplateValues:any
Key/Value pairs that are used to replace template values (eg. {x}).
headers?
optionalheaders:any
Additional HTTP headers that will be sent.
proxy?
optionalproxy:Proxy
A proxy to be used when loading the resource.
retryCallback?
optionalretryCallback:RetryCallback
The Function to call when a request for this resource fails. If it returns true, the request will be retried.
retryAttempts?
optionalretryAttempts:number
The number of times the retryCallback should be called before giving up.
request?
optionalrequest:Request
A Request object that will be used. Intended for internal use only.
parseUrl?
optionalparseUrl:boolean
If true, parse the url for query parameters; otherwise store the url without change
