Preparing search index...
The search index is not available
如视 Five SDK
如视 Five SDK
gltf-loader
THREEGLTFLoader
Class THREEGLTFLoader
Hierarchy (
view full
)
Loader
THREEGLTFLoader
GLTFLoader
Index
Constructors
constructor
Properties
dds
Loader
draco
Loader
Methods
load
parse
setDDSLoader
setDRACOLoader
Constructors
constructor
new THREEGLTFLoader
(
manager
?
)
:
THREEGLTFLoader
Parameters
Optional
manager
:
LoadingManager
Returns
THREEGLTFLoader
Properties
dds
Loader
dds
Loader
:
DDSLoader
draco
Loader
draco
Loader
:
DRACOLoader
Methods
load
load
(
url
,
onLoad
,
onProgress
?
,
onError
?
)
:
void
Parameters
url
:
string
onLoad
:
(
(
gltf
:
THREEGLTF
)
=>
void
)
(
gltf
)
:
void
Parameters
gltf
:
THREEGLTF
Returns
void
Optional
onProgress
:
(
(
event
:
ProgressEvent
<
EventTarget
>
)
=>
void
)
(
event
)
:
void
Parameters
event
:
ProgressEvent
<
EventTarget
>
Returns
void
Optional
onError
:
(
(
event
:
ErrorEvent
)
=>
void
)
(
event
)
:
void
Parameters
event
:
ErrorEvent
Returns
void
Returns
void
parse
parse
(
data
,
path
,
onLoad
,
onError
?
)
:
void
Parameters
data
:
string
|
ArrayBuffer
path
:
string
onLoad
:
(
(
gltf
:
THREEGLTF
)
=>
void
)
(
gltf
)
:
void
Parameters
gltf
:
THREEGLTF
Returns
void
Optional
onError
:
(
(
event
:
ErrorEvent
)
=>
void
)
(
event
)
:
void
Parameters
event
:
ErrorEvent
Returns
void
Returns
void
setDDSLoader
setDDSLoader
(
ddsLoader
)
:
THREEGLTFLoader
Parameters
ddsLoader
:
DDSLoader
Returns
THREEGLTFLoader
setDRACOLoader
setDRACOLoader
(
dracoLoader
)
:
THREEGLTFLoader
Parameters
dracoLoader
:
DRACOLoader
Returns
THREEGLTFLoader
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
dds
Loader
draco
Loader
Methods
load
parse
setDDSLoader
setDRACOLoader
如视 Five SDK
Loading...