ThreePipe
Preparing search index...
Object3DComponent
Class Object3DComponent
Hierarchy (
View Summary
)
Object3DComponent
SampleBodyComponent
Index
Constructors
constructor
Properties
_
object
_
state
constructor
ctx
enabled
is
Object3
D
Component
state
state
Change
Handlers
ui
Config?
uuid
Component
Type
State
Properties
Accessors
object
state
Ref
Methods
destroy
init
on
State
Change
set
State
start
stop
update
Constructors
constructor
new
Object3DComponent
()
:
Object3DComponent
Returns
Object3DComponent
Properties
Protected
_
object
_object
:
|
null
|
IObject3D
<
IObject3DEventMap
,
undefined
|
IGeometry
<
NormalBufferAttributes
,
BufferGeometryEventMap
>
,
undefined
|
IMaterial
<
IMaterialEventMap
>
|
IMaterial
<
IMaterialEventMap
>
[]
,
>
= null
Protected
_
state
_state
:
Record
<
string
,
any
>
constructor
constructor
:
typeof
Object3DComponent
&
ComponentDefn
ctx
ctx
:
ComponentCtx
enabled
enabled
:
boolean
Readonly
is
Object3
D
Component
isObject3DComponent
:
true
state
state
:
never
state
Change
Handlers
stateChangeHandlers
:
Record
<
string
,
(
(
value
:
any
,
oldValue
:
any
,
key
?:
string
)
=>
void
)
[]
,
>
= {}
Optional
ui
Config
uiConfig
?:
UiObjectConfig
<
any
,
string
,
any
>
uuid
uuid
:
string
= ...
Static
Component
Type
ComponentType
:
string
= 'Object3DComponent'
Static
State
Properties
StateProperties
:
undefined
|
(
string
|
StatePropConfig
<
any
>
)
[]
= ...
Accessors
object
get
object
()
:
IObject3D
<
IObject3DEventMap
,
undefined
|
IGeometry
<
NormalBufferAttributes
,
BufferGeometryEventMap
>
,
undefined
|
IMaterial
<
IMaterialEventMap
>
|
IMaterial
<
IMaterialEventMap
>
[]
,
>
Returns
IObject3D
<
IObject3DEventMap
,
undefined
|
IGeometry
<
NormalBufferAttributes
,
BufferGeometryEventMap
>
,
undefined
|
IMaterial
<
IMaterialEventMap
>
|
IMaterial
<
IMaterialEventMap
>
[]
,
>
set
object
(
_
:
IObject3D
)
:
void
Parameters
_
:
IObject3D
Returns
void
state
Ref
get
stateRef
()
:
Record
<
string
,
any
>
Returns
Record
<
string
,
any
>
Methods
destroy
destroy
()
:
Record
<
string
,
any
>
Returns
Record
<
string
,
any
>
init
init
(
object
:
IObject3D
,
state
:
Record
<
string
,
any
>
)
:
void
Parameters
object
:
IObject3D
state
:
Record
<
string
,
any
>
Returns
void
on
State
Change
onStateChange
<
K
extends
|
"object"
|
"uuid"
|
"uiConfig"
|
"update"
|
"constructor"
|
"start"
|
"stop"
|
"destroy"
|
"state"
|
"enabled"
|
"isObject3DComponent"
|
"stateRef"
|
"setState"
|
"ctx"
|
"init"
|
"stateChangeHandlers"
|
"onStateChange"
,
>
(
key
:
K
,
fn
:
(
value
:
Object3DComponent
[
K
]
,
oldValue
:
Object3DComponent
[
K
]
,
key
?:
K
,
)
=>
void
,
)
:
void
Type Parameters
K
extends
|
"object"
|
"uuid"
|
"uiConfig"
|
"update"
|
"constructor"
|
"start"
|
"stop"
|
"destroy"
|
"state"
|
"enabled"
|
"isObject3DComponent"
|
"stateRef"
|
"setState"
|
"ctx"
|
"init"
|
"stateChangeHandlers"
|
"onStateChange"
Parameters
key
:
K
fn
:
(
value
:
Object3DComponent
[
K
]
,
oldValue
:
Object3DComponent
[
K
]
,
key
?:
K
)
=>
void
Returns
void
set
State
setState
(
state
:
Record
<
string
,
any
>
)
:
undefined
|
Object3DComponent
Parameters
state
:
Record
<
string
,
any
>
Returns
undefined
|
Object3DComponent
start
start
()
:
void
Returns
void
stop
stop
()
:
void
Returns
void
update
update
(
_e
:
IAnimationLoopEvent
)
:
boolean
|
void
Parameters
_e
:
IAnimationLoopEvent
Returns
boolean
|
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
object
_
state
constructor
ctx
enabled
is
Object3
D
Component
state
state
Change
Handlers
ui
Config
uuid
Component
Type
State
Properties
Accessors
object
state
Ref
Methods
destroy
init
on
State
Change
set
State
start
stop
update
ThreePipe
Loading...