共用方式為


CameraOcclusionState.IsOccluded 屬性

定義

取得布林值,指出相機裝置是否被遮蔽。

public:
 property bool IsOccluded { bool get(); };
bool IsOccluded();
public bool IsOccluded { get; }
var boolean = cameraOcclusionState.isOccluded;
Public ReadOnly Property IsOccluded As Boolean

屬性值

Boolean

bool

如果遮蔽相機,則為 True;否則為 false。

適用於