Share via


INuiFusionReconstruction::SetAlignDepthFloatToReconstructionReferenceFrame Method

Sets a reference depth frame that is used internally to help with tracking when calling the AlignDepthFloatToReconstruction method to calculate a new camera pose.

Syntax

public:
HRESULT SetAlignDepthFloatToReconstructionReferenceFrame(
         const NUI_FUSION_IMAGE_FRAME *pReferenceDepthFloatFrame
)

Parameters

  • pReferenceDepthFloatFrame
    Type: NUI_FUSION_IMAGE_FRAME
    A previously-created depth float frame that was successfully aligned, or a raycasted model depth.

Return value

Type: HRESULT
S_OK if successful; otherwise, returns a failure code.

Requirements

Header: nuikinectfusionvolume.h

Library: TBD