Namespace Tizen.NUI.Physics2D

    Classes

    PhysicsActor

    Class to associate a physics body (such as btRigidBody*) with a View for rendering.

    This object offers methods to modify basic physics properties asynchronously, that is, on the Update thread.

    Currently, using the Physics API directly should be done after blocking the physics integration step, by getting a ScopedAccessor from the PhysicsAdaptor. Once the ScopedAccessor is disposed, then the physics integration will run again.

    PhysicsAdaptor

    Adaptor to manage access to the physics world and pairing actors and physics bodies, plus some translation methods to/from the physics space and dali space.

    Also manages a debug renderer that may utilize the physics engine debug. It is up to the developer to retrieve the root actor and parent it into the scene.

    ScopedPhysicsAccessor

    Scoped accessor to the physics world.

    Automatically locks the physics world with a mutex to prevent the integration step from running whilst the developer is accessing the world, e.g. to add/remove bodies or constraints, or to perform hit-test.

    When it is disposed, the mutex is unlocked, and the integration step can resume.

    Suggest that this is created with a "using" block:

    using(accessor=physicsAdaptor.GetAccessor()) { var space = accessor.GetNative(); // Perform operations on space or bodies. } // automatically disposed.

    Enums

    DebugState

    Enumeration to turn the debug layer on or off.

    IntegrationState

    Enumeration to turn the integration step on or off.

    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX