CVRTrackedCamera.GetCameraProjection Method

Definition

public:
 Microsoft::MixedReality::Toolkit::OpenVR::Headers::EVRTrackedCameraError GetCameraProjection(System::UInt32 nDeviceIndex, System::UInt32 nCameraIndex, Microsoft::MixedReality::Toolkit::OpenVR::Headers::EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, Microsoft::MixedReality::Toolkit::OpenVR::Headers::HmdMatrix44_t % pProjection);
public Microsoft.MixedReality.Toolkit.OpenVR.Headers.EVRTrackedCameraError GetCameraProjection (uint nDeviceIndex, uint nCameraIndex, Microsoft.MixedReality.Toolkit.OpenVR.Headers.EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, ref Microsoft.MixedReality.Toolkit.OpenVR.Headers.HmdMatrix44_t pProjection);
member this.GetCameraProjection : uint32 * uint32 * Microsoft.MixedReality.Toolkit.OpenVR.Headers.EVRTrackedCameraFrameType * single * single * HmdMatrix44_t -> Microsoft.MixedReality.Toolkit.OpenVR.Headers.EVRTrackedCameraError
Public Function GetCameraProjection (nDeviceIndex As UInteger, nCameraIndex As UInteger, eFrameType As EVRTrackedCameraFrameType, flZNear As Single, flZFar As Single, ByRef pProjection As HmdMatrix44_t) As EVRTrackedCameraError

Parameters

nDeviceIndex
UInt32
nCameraIndex
UInt32
flZNear
Single
flZFar
Single
pProjection
HmdMatrix44_t

Returns

EVRTrackedCameraError

Applies to