AnyCAD Rapid API 2023
Help you to create a better world!
载入中...
搜索中...
未找到
RenderingEngine类 参考

静态 Public 成员函数

static boolean Initialize (Path baseDirectory, String appName, boolean createGLContext)
 
static boolean Initialize (Path baseDirectory, String appName)
 
static void Destroy ()
 
static String GetProgramPath ()
 
static boolean RegiserNETSdk (String a, String b, String d, String e)
 
static Viewer CreateView (int hwndHost, long width, long height)
 
static Viewer CreateWindow3D (String title, long width, long height, boolean visible)
 
static int CreateChildWindow (int parent, int width, int height)
 
static void DestoryChildWindow (int child)
 
static Vector2 GetDpiScale ()
 
static void Log (EnumLoggingLevel level, String msg)
 
static void Log (String msg)
 

详细描述

<> 内部使用的渲染引擎.

成员函数说明

◆ CreateView()

static Viewer RenderingEngine.CreateView ( int  hwndHost,
long  width,
long  height 
)
static

基于已有的窗口控件上创建三维显示视图

参数
hwndHostthe host window handle.
widththe width
heightthe height
返回
the viewer.

◆ CreateWindow3D()

static Viewer RenderingEngine.CreateWindow3D ( String  title,
long  width,
long  height,
boolean  visible 
)
static

创建一个独立的三维窗口.

参数
titlethe title
widththe width
heightthe height
visibleif visible.
返回