psytask - v1.1.1
    Preparing search index...

    Type Alias SceneOptions<T>

    Scene options (readonly)

    type SceneOptions<T extends SceneFunction> = {
        defaultProps: DeepReadonly<T extends Component<(...)> ? P : LooseObject>;
        duration?: number;
        close_on?: SceneEventType | DeepReadonly<(...)[]>;
        frame_times?: boolean;
    }

    Type Parameters

    • T extends SceneFunction
    Index

    Properties

    defaultProps: DeepReadonly<T extends Component<(...)> ? P : LooseObject>

    Default props used to call setup

    duration?: number

    Scene duration in milliseconds

    close_on?: SceneEventType | DeepReadonly<(...)[]>

    Close the scene on specific events

    frame_times?: boolean

    Whether to log frame times