如视 Five SDK
Preparing search index...
five
loadGltf
Function loadGltf
loadGltf
(
url
:
string
,
options
?:
{
fetcher
?:
Fetcher
;
jsonModify
?:
(
json
:
any
)
=>
any
;
light
?:
boolean
;
modelUpAxis
?:
"Y"
|
"Z"
;
onDownloadProgress
?:
(
percent
:
number
,
loaded
?:
number
,
total
?:
number
,
)
=>
void
;
upAxis
?:
"Y"
|
"Z"
;
}
,
)
:
Promise
<
LoadResultType
>
Parameters
url
:
string
options
:
{
fetcher
?:
Fetcher
;
jsonModify
?:
(
json
:
any
)
=>
any
;
light
?:
boolean
;
modelUpAxis
?:
"Y"
|
"Z"
;
onDownloadProgress
?:
(
percent
:
number
,
loaded
?:
number
,
total
?:
number
,
)
=>
void
;
upAxis
?:
"Y"
|
"Z"
;
}
= {}
Returns
Promise
<
LoadResultType
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
如视 Five SDK
Loading...