WindowsSceneUnderstandingObserver.TryGetOcclusionMask Method

Definition

Gets the occlusion mask from a scene quad

public:
 bool TryGetOcclusionMask(int quadId, System::UInt16 textureWidth, System::UInt16 textureHeight, [Runtime::InteropServices::Out] cli::array <System::Byte> ^ % mask);
public bool TryGetOcclusionMask (int quadId, ushort textureWidth, ushort textureHeight, out byte[] mask);
member this.TryGetOcclusionMask : int * uint16 * uint16 * Byte[] -> bool
Public Function TryGetOcclusionMask (quadId As Integer, textureWidth As UShort, textureHeight As UShort, ByRef mask As Byte()) As Boolean

Parameters

quadId
Int32

Guid of the quad

textureWidth
UInt16

Width of the mask

textureHeight
UInt16

Height of the mask

mask
Byte[]

Mask result

Returns

Returns false if fails to get the mask

Applies to