class Provider
(Niantic.Lightship.AR.XRSubsystems.XRSemanticsSubsystem.Provider)
概要
XRSemanticsSubsystem](../index.mdx)をサービスするプロバイダ。
クラス Provider:SubsystemProvider< XRSemanticsSubsystem > {
public:
// フィールド
?uint LatestFrameId => throw new NotSupportedException("Getting the latest frame id is not supported by this implementation");
bool IsMetadataAvailable => throw new NotSupportedException("Getting if metadata is available is not supported by this implementation");
// プロパティ
uint TargetFrameRate;
HashSet<string> SuppressionMaskChannels;
// メソッド
virtual bool TryPrepareSubsystem();
virtual bool TryGetSemanticChannel(
string channelName,
out XRTextureDescriptor semanticChannelDescriptor,
out Matrix4x4 samplerMatrix,
XRCameraParams?cameraParams = null
);
virtual bool TryAcquireSemanticChannelCpuImage(
string channelName,
out XRCpuImage cpuImage,
out Matrix4x4 samplerMatrix,
XRCameraParams?cameraParams = null
);
virtual bool TryGetPackedSemanticChannels(
out XRTextureDescriptor packedSemanticsDescriptor,
out Matrix4x4 samplerMatrix,
XRCameraParams?cameraParams = null
);
virtual bool TryAcquirePackedSemanticChannelsCpuImage(
out XRCpuImage cpuImage,
out Matrix4x4 samplerMatrix,
XRCameraParams?cameraParams = null
);
virtual bool TryGetSuppressionMaskTexture(
out XRTextureDescriptor suppressionMaskDescriptor,
out Matrix4x4 samplerMatrix,
XRCameraParams?cameraParams = null
);
virtual bool TryAcquireSuppressionMaskCpuImage(
out XRCpuImage cpuImage,
out Matrix4x4 samplerMatrix,
XRCameraParams?cameraParams = null
);
virtual bool TryGetChannelNames(out IReadOnlyList<string> names);
virtual bool TrySetChannelConfidenceThresholds(Dictionary<string, float> channelConfidenceThresholds);
virtual bool TryResetChannelConfidenceThresholds();
};