Skip to main content
API Reference NianticSpatial.NSDK.AR.XRSubsystems XRSemanticsSubsystem Provider

TryGetSuppressionMaskTexture


Declaration

public virtual bool TryGetSuppressionMaskTexture(out XRTextureDescriptor suppressionMaskDescriptor, out Matrix4x4 samplerMatrix, Nullable<XRCameraParams> cameraParams = null)

Parameters

NameTypeSummary
suppressionMaskDescriptorXRTextureDescriptor
The resulting semantic suppression mask texture descriptor, if available.
samplerMatrixMatrix4x4
The matrix that transforms from normalized viewport coordinates to normalized texture coordinates.
cameraParamsNullable<XRCameraParams>
Describes the viewport the texture is to be displayed on.