Class VRMLookAtExpressionApplier

A class that applies eye gaze directions to a VRM. It will be used by VRMLookAt.

Implements

Constructors

Properties

Its associated VRMExpressionManager.

rangeMapHorizontalInner: VRMLookAtRangeMap

It won't be used in expression applier. See also: rangeMapHorizontalOuter

rangeMapHorizontalOuter: VRMLookAtRangeMap

A VRMLookAtRangeMap for horizontal movement. Both eyes move left or right.

rangeMapVerticalDown: VRMLookAtRangeMap

A VRMLookAtRangeMap for vertical downward movement. Both eyes move upwards.

rangeMapVerticalUp: VRMLookAtRangeMap

A VRMLookAtRangeMap for vertical upward movement. Both eyes move downwards.

type: "expression" = "expression"

Represent its type of applier.

Methods

  • Apply the input angle to its associated VRM model.

    Parameters

    • yaw: number

      Rotation around Y axis, in degree

    • pitch: number

      Rotation around X axis, in degree

    Returns void

  • Parameters

    • euler: Euler

    Returns void

    Deprecated

    Use applyYawPitch instead.