class-description
NEWS
COMMUNITY
STORE
TUTORIALS
SIGN UP
LOGIN
LOGOUT
ROKOJORI
NEWSLETTER
SIGN UP
LOGIN
LOGOUT
NEWS
COMMUNITY
STORE
TUTORIALS
TOGGLE FULLSCREEN
VOLLBILD AN/AUS
Object
PhysicsServer2DManager
A singleton for managing
PhysicsServer2D
implementations.
PhysicsServer2DManager
is the API for registering
PhysicsServer2D
implementations and for setting the default implementation.
Note:
It is not possible to switch physics servers at runtime. This class is only used on startup at the server initialization level, by Godot itself and possibly by GDExtensions.
void
register_server
<>
(
String
name
=
,
name
:
String
=
,
Callable
create_callback
=
,
create_callback
:
Callable
=
,
)
:
void
Register a
PhysicsServer2D
implementation by passing a
name
and a
Callable
that returns a
PhysicsServer2D
object.
void
set_default_server
<>
(
String
name
=
,
name
:
String
=
,
int
priority
=
,
priority
:
int
=
,
)
:
void
Set the default
PhysicsServer2D
implementation to the one identified by
name
, if
priority
is greater than the priority of the current default implementation.
All social media brands are registrated trademarks and belong to their respective owners.
CONTACT
IMPRINT
TERMS OF USE
PRIVACY
© ROKOROJI ® 2021
rokojori.com
CONTACT
IMPRINT
TERMS OF USE
PRIVACY
© ROKOROJI ® 2021
rokojori.com
We are using cookies on this site.
Read more...
Wir benutzen Cookies auf dieser Seite.
Mehr lesen...