## ClutterBox2D Actor ClutterBox2D Actor — Options for the children of ClutterBox2D |

## Synopsis

                        ClutterBox2DActor;
                        ClutterBox2DActorClass;
    enum                ClutterBox2DTrackFlags;
    void                clutter_box2d_actor_track           (ClutterActor *actor,
                                                             ClutterActor *other,
                                                             ClutterBox2DTrackFlags flags);
    ClutterBox2DActor*  clutter_box2d_get_actor             (ClutterBox2D *box2d,
                                                             ClutterActor *actor);

## Object Hierarchy

      GObject
       +----ClutterChildMeta
             +----ClutterBox2DActor

## Description

The children of a ClutterBox2D container are accessed with both the instance of ClutterBox2D and the child actor itself.

## Details

### ClutterBox2DActor

    typedef struct _ClutterBox2DActor ClutterBox2DActor;

This structure contains the combined state of an actor and a body, all actors added to the ClutterBox2D container have such ClutterBox2DActor associated with it. The ClutterBox2DActor is an implementation detail that is not exposed in the public API.

### ClutterBox2DActorClass

    typedef struct {
    } ClutterBox2DActorClass;

### enum ClutterBox2DTrackFlags

    typedef enum {
      CLUTTER_BOX2D_TRACK_POSITION = 1 << 0,
      CLUTTER_BOX2D_TRACK_ROTATION = 1 << 1,
      CLUTTER_BOX2D_TRACK_ALL      = 0xff
    } ClutterBox2DTrackFlags;

### clutter_box2d_actor_track ()

    void                clutter_box2d_actor_track           (ClutterActor *actor,
                                                             ClutterActor *other,
                                                             ClutterBox2DTrackFlags flags);

`actor` : |
`other` : |
`flags` : |

### clutter_box2d_get_actor ()

    ClutterBox2DActor*  clutter_box2d_get_actor             (ClutterBox2D *box2d,
                                                             ClutterActor *actor);

`box2d` : |
`actor` : |
Returns : |