NuiFusionCreateReconstruction

Initializes a new instance of the INuiFusionReconstruction class.

Syntax

HRESULT FUSIONAPI NuiFusionCreateReconstruction(
         const NUI_FUSION_RECONSTRUCTION_PARAMETERS *pReconstructionParameters,
         NUI_FUSION_RECONSTRUCTION_PROCESSOR_TYPE reconstructionProcessorType,
         INT deviceIndex,
         const Matrix4 *pInitialWorldToCameraTransform,
         INuiFusionReconstruction **ppNuiFusionReconstruction
)

Parameters

  • pReconstructionParameters
    Type: NUI_FUSION_RECONSTRUCTION_PARAMETERS
    [in] The reconstruction parameters to use.
  • reconstructionProcessorType
    Type: NUI_FUSION_RECONSTRUCTION_PROCESSOR_TYPE
    [in] The reconstruction processing mode to use.
  • deviceIndex
    Type: INT
    [in] The index of the reconstruction device to use.
  • pInitialWorldToCameraTransform
    Type: Matrix4
    [in, optional] The initial world-to-camera transform.
  • ppNuiFusionReconstruction
    Type: INuiFusionReconstruction
    [out] The new reconstruction object.

Return value

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

Requirements

Header: nuikinectfusionvolume.h

Library: TBD