Skip to content

How to convert display and projection matrix from swift to unity #1191

@dav3rin

Description

@dav3rin

In order to set a custom display size we call displayTransform to get the display matrix and projectionMatrix for the camera projection matrix for a specific viewport size.

The issue we're having now is mapping the matrices from swift to those used in unity in ARCameraFrameEventArgs.

The documentation on these matrices is limited and our current solution is to solve this mapping in a very manual way.

If a member of the unity team could please post the swift code here that handles this conversion we would be extremely grateful.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    how toExplains how to accomplish something

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions