Editor API Reference - v1.1.4
    Preparing search index...

    Type Alias AnimstategraphAssetData

    Represents the data for an AnimStateGraph asset.

    type AnimstategraphAssetData = {
        layers: {
            [key: string]: {
                blendType: string;
                name: string;
                states: number[];
                transitions: number[];
                weight: number;
            };
        };
        parameters: { [key: string]: { name: string; type: string; value: any } };
        states: {
            [key: string]: {
                defaultState: boolean;
                id: number;
                loop: boolean;
                name: string;
                nodeType: number;
                posX: number;
                posY: number;
                speed: number;
            };
        };
        transitions: {
            [key: string]: {
                conditions: {
                    [key: string]: {
                        parameterName: string;
                        predicate: string;
                        value: any;
                    };
                };
                defaultTransition: boolean;
                edgeType: number;
                exitTime: number;
                from: number;
                interruptionSource: string;
                priority: number;
                time: number;
                to: number;
                transitionOffset: number;
            };
        };
    }
    Index

    Properties

    layers: {
        [key: string]: {
            blendType: string;
            name: string;
            states: number[];
            transitions: number[];
            weight: number;
        };
    }

    A set of AnimStateGraph layers.

    parameters: { [key: string]: { name: string; type: string; value: any } }

    A set of AnimStateGraph parameters.

    states: {
        [key: string]: {
            defaultState: boolean;
            id: number;
            loop: boolean;
            name: string;
            nodeType: number;
            posX: number;
            posY: number;
            speed: number;
        };
    }

    A set of AnimStateGraph states.

    transitions: {
        [key: string]: {
            conditions: {
                [key: string]: {
                    parameterName: string;
                    predicate: string;
                    value: any;
                };
            };
            defaultTransition: boolean;
            edgeType: number;
            exitTime: number;
            from: number;
            interruptionSource: string;
            priority: number;
            time: number;
            to: number;
            transitionOffset: number;
        };
    }

    A set of AnimStateGraph transitions.