CameraOcclusionInfo.IsOcclusionKindSupported(CameraOcclusionKind) Method
Definition
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.
Gets a boolean value indicating whether the specified occlusion kind is supported by the camera device.
public:
virtual bool IsOcclusionKindSupported(CameraOcclusionKind occlusionKind) = IsOcclusionKindSupported;
bool IsOcclusionKindSupported(CameraOcclusionKind const& occlusionKind);
public bool IsOcclusionKindSupported(CameraOcclusionKind occlusionKind);
function isOcclusionKindSupported(occlusionKind)
Public Function IsOcclusionKindSupported (occlusionKind As CameraOcclusionKind) As Boolean
Parameters
- occlusionKind
- CameraOcclusionKind
A member of the CameraOcclusionKind enumeration specifying the occlusion kind for which support is being queried.
Returns
bool
True if the specified occlusion kind is supported by the capture devices; otherwise, false.
Remarks
A device may not support any or all occlusion types. If an occlusion type is unsupported, CameraOcclusionState.IsOcclusionKind will never return true for that occlusion type.