Lens Scripting API

    Class NamedValues

    A type containing two arrays which map positionally to each other. For example, this is used by FaceRenderObjectProvider, to provide a names array which contains the list of expresion names on the face, while the values array which contains the weight of each expression.

    Hierarchy (View Summary, Expand)

    Index

    Properties

    names: string[]

    The array of names which positionally correspond to the value array property.

    values: Float32Array

    The array of values which positionally correspond to the names array property.

    Methods

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean

    MMNEPVFCICPMFPCPTTAAATR