- initialize<T>(root, rootConstructorProps, threeProps?): {
contextManager: ContextManager;
rootInstance: T;
} Type Parameters
- T extends Component<any, ConstructorProps, T>
Parameters
- root: ConstructorForComponent<T>
- rootConstructorProps: ConstructorPropsOfComponent<T>
Optional
threeProps: ThreeContextConstructorProps & ThreeSceneContextConstructorProps
Returns {
contextManager: ContextManager;
rootInstance: T;
}
contextManager: ContextManager
rootInstance: T