Class: GltfGrObject

loaders.GltfGrObject(paramsopt)

Load from a glTF/GLB file.

Note: if loading fails, an error is printed in the console and a red cube is used as an error marker.

Constructor

new GltfGrObject(paramsopt)

Parameters:
Name Type Attributes Description
params Object <optional>
Properties:
Name Type Attributes Description
params.gltf string

path to a .gltf or .glb file

params.norm Number <optional>

normalize the object (make the largest dimension this value)

params.x Number <optional>

initial translate for the group

params.y Number <optional>
params.z Number <optional>
params.name String <optional>
params.callback LoaderCallback <optional>
Source:

Members

animations :Array.<any>

Type:
  • Array.<any>
Source: