Skip to main content
Version: 21 Aug 2024

MLSegmentedDimmer

NameSpace: MagicLeap

Public Methods

void Activate

Turn on the ability to display Segmented Dimmer in your scenes. This instructs MLGraphics to provide frames using the AlphaBlend blend mode.

public static void Activate()

void Deactivate

Turn off the ability to display Segmented Dimmer in your scenes. This reverts to accepting frames with the default blend mode from MLGraphics.

public static void Deactivate()

int GetDefaultLayer

Returns the first available Unity Layer specified in the LayerMask for the SegmentedDimmer Feature. This will be the default layer SegmentedDimmer mesh objects will be assigned to when first configured.

public static int GetDefaultLayer()

Returns:


Public Attributes

Exists

Does the Universal Render Pipeline contain a Segmented Dimmer feature in its renderers


public static bool Exists => false;