Class VRMHumanoidLoaderPlugin

A plugin of GLTFLoader that imports a VRMHumanoid from a VRM extension of a GLTF.

Implements

  • GLTFLoaderPlugin

Constructors

Properties

_ensureRequiredBonesExist: any

Ensure required bones exist in given human bones.

Param: humanBones

Human bones

Returns

Human bones, no longer partial!

_import: any

Import a VRMHumanoid from a VRM.

Param: gltf

A parsed result of GLTF taken from GLTFLoader

_v0Import: any
_v1Import: any
autoUpdateHumanBones?: boolean
helperRoot?: Object3D<Object3DEventMap>

Specify an Object3D to add VRMHumanoidHelper. If not specified, helper will not be created. If renderOrder is set to the root, the helper will copy the same renderOrder .

parser: GLTFParser

Accessors

  • get name(): string
  • Returns string

Methods

  • Parameters

    • gltf: GLTF

    Returns Promise<void>