Share via


CameraOcclusionInfo.IsOcclusionKindSupported(CameraOcclusionKind) Method

Definition

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

Boolean

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.

Applies to

See also