Class AmbientPlatform
Provides access to the currently selected NDMF build platform, even outside of the context of the build process.
public static class AmbientPlatform
- Inheritance
-
AmbientPlatform
- Inherited Members
Properties
CurrentPlatform
Returns the current platform; either the one in use in the current build context, or the default platform.
public static INDMFPlatformProvider CurrentPlatform { get; }
Property Value
DefaultPlatform
The default platform to use in legacy calls like AvatarProcessor.ProcessAvatar. This is not necessarily the platform in use in a build; use CurrentPlatform or BuildContext.PlatformProvider for that.
public static INDMFPlatformProvider DefaultPlatform { get; }
Property Value
Events
OnDefaultPlatformChanged
public static event Action? OnDefaultPlatformChanged