Contents

cp_drawable_get_device_anchor

Returns the position and orientation you specified for the frame.

Declaration

ar_device_anchor_t cp_drawable_get_device_anchor(cp_drawable_t drawable);

Parameters

  • drawable:

    The drawable for a frame.

Return Value

The current position and orientation for the frame, or nil if you didn’t specify this information.

See Also

Accessing the device orientation