Binds a specific property within a node hierarchy (via a path) and allows direct access to it.

Constructors

Properties

component: Component
key: string
node: Node
output: Float32Array

The animated value to be applied to the property

path: string
pathParsed: {
    componentIndex: string;
    componentType: string;
    nodePath: string[];
    targetPath: string[];
}

Type declaration

  • componentIndex: string
  • componentType: string
  • nodePath: string[]
  • targetPath: string[]
property: unknown
root: Node
target: Mutable

Methods

  • Parameters

    • _path: string

    Returns {
        componentIndex: string;
        componentType: string;
        nodePath: string[];
        targetPath: string[];
    }

    • componentIndex: string
    • componentType: string
    • nodePath: string[]
    • targetPath: string[]

    Example

    "childName/childName/childName/components/ComponentTransform/0/mtxLocal/translation"
    

    Example

    "components/ComponentTransform/0"