了解Android中的android.graphics.Camera对象

时间:2021-08-31 12:05:50

I am developing an Android AR app for my bachelor's Thesis.

我正在为我的学士论文开发一个Android AR应用程序。

I found the Camera class in package android.graphics (sdk link: http://developer.android.com/reference/android/graphics/Camera.html) and I didn't understand what the method dotWithNormal()?

我在包android.graphics(sdk链接:http://developer.android.com/reference/android/graphics/Camera.html)中找到了Camera类,我不明白dotWithNormal()方法是什么?

Do you have any tutorial in which this object is used?

你有任何使用这个对象的教程吗?

1 个解决方案

#1


1  

It's very useful for manipulating the Matrix attached to a Canvas, in particular for doing clever 3D effects without OpenGL.

它对于操作附加到Canvas的Matrix非常有用,特别是在没有OpenGL的情况下进行巧妙的3D效果。

This 3D flip effect uses it, IIRC.

这种3D翻转效果使用它,IIRC。

#1


1  

It's very useful for manipulating the Matrix attached to a Canvas, in particular for doing clever 3D effects without OpenGL.

它对于操作附加到Canvas的Matrix非常有用,特别是在没有OpenGL的情况下进行巧妙的3D效果。

This 3D flip effect uses it, IIRC.

这种3D翻转效果使用它,IIRC。