设置Z序 - DrawGuiSetZOrder
函数简介
设置绘制对象的Z序(绘制顺序)。
接口名称
DrawGuiSetZOrder
DLL调用
int32_t DrawGuiSetZOrder(int64_t instance, int64_t handle, int32_t zOrder);
参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
| handle | 长整数型 | 对象句柄。 |
| zOrder | 整数型 | Z序值,数值越大越靠前。 |
示例
DrawGuiSetZOrder(ola, obj, 100);
返回值
0 失败,1 成功。
