Preparing search index...
The search index is not available
redgpu
redgpu
GLTFLoader
Class GLTFLoader
GLTFLoader class for loading and parsing GLTF files.
Index
Constructors
constructor
Properties
active
Animations
parsing
Option
parsing
Result
result
Mesh
Accessors
file
Name
file
Path
gltf
Data
redGPUContext
url
Methods
play
Animation
stop
Animation
Constructors
constructor
new
GLTFLoader
(
redGPUContext
:
RedGPUContext
,
url
:
string
,
onLoad
:
any
,
onError
:
any
,
)
:
GLTFLoader
Parameters
redGPUContext
:
RedGPUContext
url
:
string
onLoad
:
any
onError
:
any
Returns
GLTFLoader
Properties
active
Animations
activeAnimations
:
any
[]
= []
parsing
Option
parsingOption
:
any
parsing
Result
parsingResult
:
GLTFParsingResult
result
Mesh
resultMesh
:
Mesh
Accessors
file
Name
get
fileName
()
:
string
Returns
string
file
Path
get
filePath
()
:
string
Returns
string
gltf
Data
get
gltfData
()
:
GLTF
Returns
GLTF
set
gltfData
(
value
:
GLTF
)
:
void
Parameters
value
:
GLTF
Returns
void
redGPUContext
get
redGPUContext
()
:
RedGPUContext
Returns
RedGPUContext
url
get
url
()
:
string
Returns
string
Methods
play
Animation
playAnimation
(
parsedSingleClip
:
GLTFParsedSingleClip
)
:
void
Parameters
parsedSingleClip
:
GLTFParsedSingleClip
Returns
void
stop
Animation
stopAnimation
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
active
Animations
parsing
Option
parsing
Result
result
Mesh
Accessors
file
Name
file
Path
gltf
Data
redGPUContext
url
Methods
play
Animation
stop
Animation
redgpu
Loading...
GLTFLoader class for loading and parsing GLTF files.