Class: ObjGrObject

loaders.ObjGrObject(params)

A base class of GrObjects loaded from an OBJ file note: this has to deal with the deferred loading

Warning: While ObjLoader2 might be better, ObjLoader is simpler

Constructor

new ObjGrObject(params)

Parameters:
Name Type Description
params Object
Properties:
Name Type Attributes Description
params.obj string
params.mtl string <optional>
params.name string <optional>
params.mtloptions Object <optional>
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.callback LoaderCallback <optional>
Source: