Preparing search index...
The search index is not available
Needle Engine
Needle Engine
engine/api
addComponent
Function addComponent
add
Component
<
T
>
(
obj
,
componentInstance
,
init
?
,
opts
?
)
:
T
Type Parameters
T
extends
IComponent
Parameters
obj
:
Object3D
componentInstance
:
T
|
ConstructorConcrete
<
T
>
Optional
init
:
Partial
<
NoInternalNeedleEngineState
<
FilterStartingWith
<
FilterTypes
<
T
,
Function
>
,
"_"
>
>
>
Optional
opts
:
{
callAwake
:
boolean
;
}
call
Awake
:
boolean
Returns
T
Settings
Member Visibility
Protected
Inherited
Deprecated
Theme
OS
Light
Dark
Needle Engine
Loading...
Generated using
TypeDoc
Sep 10, 2024