bvh
    Preparing search index...
    Index

    Constructors

    Properties

    channels: string[]

    List of channels with the order as frames

    ['Xposition', 'Yposition', 'Zposition']
    
    children: BVHNode[]
    currentFrame: number

    Statefull property to keep track of the current frame

    endOffsetX: number
    endOffsetY: number
    endOffsetZ: number
    frames: number[][]

    Raw array of frame values

    hasEnd: boolean

    True if the node is at an end sites

    id: string

    Name of the node

    'Hips'
    
    offsetX: number
    offsetY: number
    offsetZ: number
    parent: BVHNode

    Methods

    • Get value of the channel at the current frame

      Parameters

      • nthFrame: number

        Index of frame

      • channel: string

        Name of channel

      Returns number

      Value of the channel

      node.at(0, 'Xposition')
      
    • Set value of the channel at the current frame

      Parameters

      • nthFrame: number

        Index of frame

      • channel: string

        Name of channel

      • value: number

        Value to set

      Returns void

      node.set(0, 'Xposition', 0)