@pixiv/three-vrm
    Preparing search index...

    A class that represents a single VRM model. This class only includes core spec of the VRM (VRMC_vrm).

    Index

    Constructors

    Properties

    expressionManager?: VRMExpressionManager

    Contains VRMExpressionManager of the VRM. You might want to control these facial expressions via VRMExpressionManager.setValue.

    firstPerson?: VRMFirstPerson

    Contains VRMFirstPerson of the VRM. VRMFirstPerson is mostly used for mesh culling for first person view.

    humanoid: VRMHumanoid

    Contains VRMHumanoid of the VRM. You can control each bones using VRMHumanoid.getNormalizedBoneNode or VRMHumanoid.getRawBoneNode.

    Add a link to VRM spec

    lookAt?: VRMLookAt

    Contains VRMLookAt of the VRM. You might want to use VRMLookAt.target to control the eye direction of your VRMs.

    meta: VRMMeta

    Contains meta fields of the VRM. You might want to refer these license fields before use your VRMs.

    scene: Group

    THREE.Group that contains the entire VRM.

    Methods

    • You need to call this on your update loop.

      This function updates every VRM components.

      Parameters

      • delta: number

        deltaTime

      Returns void