UnitySwiftKotlin←API Reference Return to API Reference index←packagecom.nianticspatial.nsdk.awareness.scenesegmentation com.nianticspatial.nsdk.awareness.scenesegmentation←classSceneSegmentationSession com.nianticspatial.nsdk.awareness.scenesegmentation.SceneSegmentationSession Function unpackChannelsFromBitmask unpackChannelsFromBitmask Declaration fun unpackChannelsFromBitmask(bitmask: Int): EnumSet<SceneSegmentationChannel> Summary Unpacks semantic channels from a packed channel bitmask.This converts a bitmask value (where each bit represents a semantic channel) into an EnumSet of SceneSegmentationChannel enum values representing the channels present in the bitmask. Returns EnumSet of SceneSegmentationChannel values present in the bitmask Throws NsdkStatusException — if there was an internal error See also latestPackedChannel
Unpacks semantic channels from a packed channel bitmask.
This converts a bitmask value (where each bit represents a semantic channel)
into an EnumSet of SceneSegmentationChannel enum values representing the channels present
in the bitmask.