CVRTrackedCamera.GetVideoStreamTextureSize Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
C++
public:
Microsoft::MixedReality::Toolkit::OpenVR::Headers::EVRTrackedCameraError GetVideoStreamTextureSize(System::UInt32 nDeviceIndex, Microsoft::MixedReality::Toolkit::OpenVR::Headers::EVRTrackedCameraFrameType eFrameType, Microsoft::MixedReality::Toolkit::OpenVR::Headers::VRTextureBounds_t % pTextureBounds, System::UInt32 % pnWidth, System::UInt32 % pnHeight);
public Microsoft.MixedReality.Toolkit.OpenVR.Headers.EVRTrackedCameraError GetVideoStreamTextureSize (uint nDeviceIndex, Microsoft.MixedReality.Toolkit.OpenVR.Headers.EVRTrackedCameraFrameType eFrameType, ref Microsoft.MixedReality.Toolkit.OpenVR.Headers.VRTextureBounds_t pTextureBounds, ref uint pnWidth, ref uint pnHeight);
member this.GetVideoStreamTextureSize : uint32 * Microsoft.MixedReality.Toolkit.OpenVR.Headers.EVRTrackedCameraFrameType * VRTextureBounds_t * uint32 * uint32 -> Microsoft.MixedReality.Toolkit.OpenVR.Headers.EVRTrackedCameraError
Public Function GetVideoStreamTextureSize (nDeviceIndex As UInteger, eFrameType As EVRTrackedCameraFrameType, ByRef pTextureBounds As VRTextureBounds_t, ByRef pnWidth As UInteger, ByRef pnHeight As UInteger) As EVRTrackedCameraError
- nDeviceIndex
- UInt32
- eFrameType
- EVRTrackedCameraFrameType
- pTextureBounds
- VRTextureBounds_t
- pnWidth
- UInt32
- pnHeight
- UInt32
Производ | Верзије |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0 |