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

    Class VRMLookAtRangeMap

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Create a new VRMLookAtRangeMap.

      Parameters

      Returns VRMLookAtRangeMap

    Properties

    inputMaxValue: number

    Limits the maximum angle of the input angle of the LookAt vector from the front of the head (the positive z axis).

    outputScale: number

    Represents an angle (in degrees) for bone type of LookAt appliers, or a weight for expression type of LookAt appliers. The input value will take 1.0 when the input angle equals (or greater) to inputMaxValue.

    Methods

    • Evaluate an input value and output a mapped value.

      Parameters

      • src: number

        The input value

      Returns number