Strata - v1.4.10
    Preparing search index...

    Interface BlendTreeConfig

    Configuration for blend tree nodes.

    const locomotionBlend: BlendTreeConfig = {
    type: '1d',
    parameter: 'speed',
    nodes: [
    { animation: 'idle', threshold: 0 },
    { animation: 'walk', threshold: 0.5 },
    { animation: 'run', threshold: 1.0 }
    ]
    };
    interface BlendTreeConfig {
        nodes: BlendTreeNode[];
        parameter: string;
        secondaryParameter?: string;
        type: "1d" | "2d" | "direct";
    }
    Index

    Properties

    nodes: BlendTreeNode[]

    Nodes in the blend tree

    parameter: string

    Parameter name controlling the blend

    secondaryParameter?: string

    Secondary parameter for 2D blends

    type: "1d" | "2d" | "direct"

    Blend tree type