ecspresso
Preparing search index...
plugins/physics2D
createPhysics2DPlugin
Function createPhysics2DPlugin
createPhysics2DPlugin
<
L
extends
string
=
never
,
G
extends
string
=
"physics2D"
,
CG
extends
string
=
never
,
>
(
options
?:
Physics2DPluginOptions
<
G
,
CG
>
&
{
layers
?:
LayerFactories
<
Record
<
L
,
readonly
string
[]
>
>
;
}
,
)
:
Plugin
<
WorldConfigFrom
<
Physics2DProvides
<
L
>
,
Physics2DEventTypes
,
Physics2DResourceTypes
,
>
,
TransformWorldConfig
,
"physics2D-integration"
|
"physics2D-collision"
,
G
|
CG
,
>
Type Parameters
L
extends
string
=
never
G
extends
string
=
"physics2D"
CG
extends
string
=
never
Parameters
Optional
options
:
Physics2DPluginOptions
<
G
,
CG
>
&
{
layers
?:
LayerFactories
<
Record
<
L
,
readonly
string
[]
>
>
;
}
Returns
Plugin
<
WorldConfigFrom
<
Physics2DProvides
<
L
>
,
Physics2DEventTypes
,
Physics2DResourceTypes
,
>
,
TransformWorldConfig
,
"physics2D-integration"
|
"physics2D-collision"
,
G
|
CG
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ecspresso
Loading...