Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    Platform Class

    Namespace: Stride.Core
    Assembly: Stride.Core.dll

    Platform specific queries and functions.

    System.Object → Platform
    Derived from Platform:

    public static class Platform
    Name Description
    Fields
    IsRunningDebugAssembly

    Gets a value indicating whether the running assembly is a debug assembly.

    IsWindowsDesktop

    Gets a value indicating whether the running platform is windows desktop.

    Type

    The current running PlatformType.

    | Improve this Doc View Source

    Fields


    IsRunningDebugAssembly

    Gets a value indicating whether the running assembly is a debug assembly.

    public static readonly bool IsRunningDebugAssembly
    Field Value
    Type Description
    System.Boolean

    IsWindowsDesktop

    Gets a value indicating whether the running platform is windows desktop.

    public static readonly bool IsWindowsDesktop
    Field Value
    Type Description
    System.Boolean

    true if this instance is windows desktop; otherwise, false.


    Type

    The current running PlatformType.

    public static readonly PlatformType Type
    Field Value
    Type Description
    PlatformType

    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation