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