|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|
静态 Public 成员函数 | |
| static void | Run (int width=0, int height=0, WindowMode windowMode=WindowMode.Resizable, string title="") |
| static void | Close () |
| static void | Restart () |
| static void | DisplayCutoutInsetsChangedHandler (Vector4 insets, bool hasWideNotch) |
静态 Public 属性 | |
| static IView | m_view |
| static IWindow | m_gameWindow |
| static IInputContext | m_inputContext |
| static string | m_titlePrefix = string.Empty |
| static string | m_titleSuffix = string.Empty |
| static float | m_lastRenderDelta |
| const string | WindowingLibrary = "Silk.NET.Windowing.Glfw" |
| const string | InputLibrary = "Silk.NET.Input.Glfw" |
静态包函数 | |
| static void | FocusedChangedHandler (bool focused) |
| static void | ResizeHandler (Vector2D< int > _) |
属性 | |
| static Point2 | ScreenSize [get] |
| static WindowMode | WindowMode [get, set] |
| static Point2 | Position [get, set] |
| static Point2 | Size [get, set] |
| static bool | HasWideNotch [get, set] |
| static Vector4 | DisplayCutoutInsets = Vector4.Zero [get, set] |
| 刘海/水滴/挖孔在屏幕边缘的宽度。X: 左边,Y: 顶部,Z: 右边,W: 底部 | |
| static string | TitlePrefix [get, set] |
| static string | TitleSuffix [get, set] |
| static string | Title [get, set] |
| static int | PresentationInterval [get, set] |
| static IntPtr | Handle [get] |
| static bool | IsCreated [get] |
| static bool | IsActive [get] |
事件 | |
| static Action | Created |
| static Action | Resized |
| static Action< Vector4, bool > | DisplayCutoutInsetsChanged |
| static Action | Activated |
| static Action | Deactivated |
| static Action | Closed |
| static Action | ToRestart |
| static Action | Frame |
| static Action< UnhandledExceptionInfo > | UnhandledException |
| static Action< Uri > | HandleUri |
| static Action | LowMemory |
| static Action< List<(Stream stream, string fileName)> > | FileDropped |
Private 类型 | |
| enum | State { Uncreated , Inactive , Active } |
静态 Private 成员函数 | |
| static void | LoadHandler () |
| static void | ClosedHandler () |
| static void | FileDropHandler (string[] paths) |
| static void | RenderFrameHandler (double lastRenderDelta) |
| static void | VerifyWindowOpened () |
| static bool | IsWindowOpened () |
| static void | SubscribeToEvents () |
| static void | UnsubscribeFromEvents () |
| static void | InitializeAll () |
| static void | DisposeAll () |
| static void | BeforeFrameAll () |
| static void | AfterFrameAll () |
静态 Private 属性 | |
| static State | m_state |
| static bool | m_closing |
| static bool | m_closingRequested |
| static bool | m_restarting |
| static ? int | m_swapInterval |
|
private |
|
static |
|
staticprivate |
|
staticpackage |
|
staticprivate |
|
staticpackage |
|
static |
|
staticprivate |
|
staticprivate |
|
static |
|
staticgetset |
|
staticgetset |
|
static |
|
static |