API
Docs
Samples
Pricing
Preparing search index...
The search index is not available
Needle Engine
Needle Engine
Engine Core
loadAsset
Function loadAsset
loadAsset
(
url
:
string
,
options
?:
{
context
?:
Context
;
onprogress
?:
(
evt
:
ProgressEvent
)
=>
void
;
path
?:
string
;
seed
?:
number
;
}
,
)
:
Promise
<
undefined
|
Model
>
Load a 3D model file from a remote URL
Parameters
url
:
string
URL to glTF, FBX or OBJ file
Optional
options
:
{
context
?:
Context
;
onprogress
?:
(
evt
:
ProgressEvent
)
=>
void
;
path
?:
string
;
seed
?:
number
;
}
Returns
Promise
<
undefined
|
Model
>
Settings
Member Visibility
Protected
Inherited
Deprecated
Theme
OS
Light
Dark
API
Docs
Samples
Pricing
Needle Engine
Loading...
Load a 3D model file from a remote URL