Interface ICalibrationData
Provides an abstraction over setting up a holographic camera from a stereo-calibrated camera rig.
Namespace: Microsoft.MixedReality.SpectatorView
Assembly: cs.temp.dll.dll
Syntax
public interface ICalibrationData
Methods
SetUnityCameraExtrinstics(Transform)
Sets up the extrinsic parameters of the holographic camera such that the holographic camera's position and rotation are correctly offset from the HoloLens providing poses for the camera rig.
Declaration
void SetUnityCameraExtrinstics(Transform cameraTransform)
Parameters
Type | Name | Description |
---|---|---|
Transform | cameraTransform | The transform that contains the holographic camera. |
SetUnityCameraIntrinsics(Camera)
Sets up the intrinsic parameters (such as a projection matrix or field of view) of the holographic camera to match the video camera.
Declaration
void SetUnityCameraIntrinsics(Camera camera)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera | The holographic camera to set the intrinsis of. |