• Type Parameters

    • T extends Component<any, ConstructorProps, T>

    Parameters

    • root: ConstructorForComponent<T>
    • rootConstructorProps: ConstructorPropsOfComponent<T>
    • OptionalthreeProps: ThreeContextConstructorProps & ThreeSceneContextConstructorProps

    Returns {
        contextManager: ContextManager;
        rootInstance: T;
    }

    • contextManager: ContextManager
    • rootInstance: T