ThreePipe
Preparing search index...
ObjectConstraint
Class ObjectConstraint<T>
Type Parameters
T
extends
TConstraintPropsType
=
TConstraintPropsType
Index
Constructors
constructor
Properties
enabled
influence
needs
Update
props
refresh?
remove?
target
type
ui
Config
uuid
Methods
refresh2
set
Dirty
type
Changed
update
Constructors
constructor
new
ObjectConstraint
<
T
extends
keyof
ConstraintPropsTypes
=
keyof
ConstraintPropsTypes
,
>
(
type
?:
T
,
)
:
ObjectConstraint
<
T
>
Type Parameters
T
extends
keyof
ConstraintPropsTypes
=
keyof
ConstraintPropsTypes
Parameters
Optional
type
:
T
Returns
ObjectConstraint
<
T
>
Properties
enabled
enabled
:
boolean
= true
influence
influence
:
number
= 1
needs
Update
needsUpdate
:
boolean
= false
props
props
:
ConstraintPropsType
<
T
>
= {}
Optional
refresh
refresh
?:
()
=>
void
Optional
remove
remove
?:
()
=>
void
target
target
:
string
= ''
type
type
:
T
ui
Config
uiConfig
:
UiObjectConfig
= ...
uuid
uuid
:
string
= ...
Methods
refresh2
refresh2
()
:
void
Returns
void
set
Dirty
setDirty
(
e
?:
{
args
?:
any
[]
;
bubbleToParent
:
boolean
;
object
:
IObject3D
}
&
Omit
<
IObjectSetDirtyOptions
,
"bubbleToParent"
,
>
,
isTarget
?:
boolean
,
)
:
undefined
|
boolean
Parameters
Optional
e
:
{
args
?:
any
[]
;
bubbleToParent
:
boolean
;
object
:
IObject3D
}
&
Omit
<
IObjectSetDirtyOptions
,
"bubbleToParent"
,
>
Optional
isTarget
:
boolean
Returns
undefined
|
boolean
type
Changed
typeChanged
()
:
void
Returns
void
update
update
(
data
:
{
obj
:
IObject3D
;
target
?:
IObject3D
<
IObject3DEventMap
,
undefined
|
IGeometry
<
NormalBufferAttributes
,
BufferGeometryEventMap
>
,
undefined
|
IMaterial
<
IMaterialEventMap
>
|
IMaterial
<
IMaterialEventMap
>
[]
,
>
;
}
,
)
:
boolean
Parameters
data
:
{
obj
:
IObject3D
;
target
?:
IObject3D
<
IObject3DEventMap
,
undefined
|
IGeometry
<
NormalBufferAttributes
,
BufferGeometryEventMap
>
,
undefined
|
IMaterial
<
IMaterialEventMap
>
|
IMaterial
<
IMaterialEventMap
>
[]
,
>
;
}
Returns
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
enabled
influence
needs
Update
props
refresh
remove
target
type
ui
Config
uuid
Methods
refresh2
set
Dirty
type
Changed
update
ThreePipe
Loading...