• Validates that the code is running on a server-side scene. Throws an error if called from a client-side context.

    Throws

    Error if not running on a server-side scene

    Parameters

    • moduleName: string

      The name of the module for the error message

    Returns void