- addComponent<T>(obj, componentInstance, init?, opts?): T
Parameters
- obj: Object3D<Object3DEventMap>
- componentInstance: T | ConstructorConcrete<T>
Optional
init: Partial<NoInternalNeedleEngineState<FilterStartingWith<FilterTypes<T, undefined | null | Function>, "_">>>Optional
opts: {
callAwake: boolean;
}
Returns T