Class TofUtils
Tofのユーティリティクラス
Inheritance
System.Object
TofUtils
Namespace: TofAr.V0.Tof
Assembly: TofArTofAssembly.dll
Syntax
public static class TofUtils
Methods
CreateProjectionMatrix(InternalParameter, Int32, Int32, Single, Single)
Tof内部パラメータに基づいてカメラのProjection matrixを作る
Declaration
public static Matrix4x4 CreateProjectionMatrix(InternalParameter intrinsics, int imageWidth, int imageHeight, float nearClip, float farClip)
Parameters
Type | Name | Description |
---|---|---|
TofAr.V0.Tof.InternalParameter | intrinsics | Tofの内部パラメータ |
System.Int32 | imageWidth | 横解像度 |
System.Int32 | imageHeight | 縦解像度 |
System.Single | nearClip | 最小クリップ距離 |
System.Single | farClip | 最大クリップ距離 |
Returns
Type | Description |
---|---|
UnityEngine.Matrix4x4 | Projection matrix |