Preparing search index...
The search index is not available
Documentation
Documentation
@zcomponent/physics
PhysicsEditorContext
Class PhysicsEditorContext
Hierarchy
Context
PhysicsEditorContext
Index
Constructors
constructor
Methods
_handle
Ancestor
Lock
State
_lock
Colliders
_lock
Rigidbodies
_unlock
Rigidbodies
dispose
Properties
constructor
Props
context
Manager
disposed
helpers
show
Center
Of
Mass
Helepr
Constructors
constructor
new
Physics
Editor
Context
(
contextManager
,
props
)
:
PhysicsEditorContext
Parameters
contextManager
:
ContextManager
props
:
{}
Returns
PhysicsEditorContext
Methods
_handle
Ancestor
Lock
State
_handle
Ancestor
Lock
State
(
locked
,
component
)
:
void
Parameters
locked
:
boolean
component
:
Component
<
any
,
ConstructorProps
>
Returns
void
_lock
Colliders
_lock
Colliders
(
body
,
locked
)
:
void
Parameters
body
:
IRigidBody
locked
:
boolean
Returns
void
_lock
Rigidbodies
_lock
Rigidbodies
(
)
:
void
Returns
void
_unlock
Rigidbodies
_unlock
Rigidbodies
(
disposing
?
)
:
void
Parameters
disposing
:
boolean
= false
Returns
void
dispose
dispose
(
)
:
never
Returns
never
Properties
constructor
Props
constructor
Props
:
{}
context
Manager
context
Manager
:
ContextManager
disposed
disposed
:
boolean
helpers
helpers
:
Object3D
<
Event
>
[]
= []
show
Center
Of
Mass
Helepr
show
Center
Of
Mass
Helepr
:
Observable
<
boolean
,
never
>
= ...
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_handle
Ancestor
Lock
State
_lock
Colliders
_lock
Rigidbodies
_unlock
Rigidbodies
dispose
constructor
Props
context
Manager
disposed
helpers
show
Center
Of
Mass
Helepr
Zapworks
Mattercraft
Documentation
Loading...