大约有 1,191 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
Laya3.0_api(429) Laya_社区(256) Laya2.0_api(228) laya_api(183) Laya2.0_文档(54) Laya3.0_文档(29) Laya2.0_示例(6) Laya_示例(6)
...出timeout所设置时长。 Static enableHighAccuracy enableHighAccuracy: boolean = false Defined in laya/device/geolocation/Geolocation.ts:36 如果enableHighAccuracy为true,并且设备能够提供一个更精确的位置,则会获取最佳可能的结果。 请注意,这可能会导致较慢...
来源: Laya3.0_api 发布时间: 20231115
... customFormat = function(url:String):String{} URL exportSceneToJson : Boolean = false[static] 兼容微信不支持加载scene后缀场景,设置为true,则会把scene加载替换为jsonURL path : String[read-only] 地址的文件夹路径(不包括文件名)。URL rootPath : String...
来源: Laya2.0_api 发布时间: 20190513
...ABB, result: Object[]): Object[]; insert(aabb: AABB, elementData: Object): boolean; rayQuery(ray: Ray, treeTransform: Transform, result: Object[]): Object[]; removeEmptyNodes(): void; subdivide(): void; } } ``` ##### 2.2.3 声明全局类: 有些时候,我们还是要用到全局的类,不能...
来源: Laya2.0_文档 发布时间: 20210715
...这里就判断owner是否active来处理会更好 _processActive(active: boolean, fromSetter?: boolean) { (this._activeChangeScripts) || (this._activeChangeScripts = []); let arr = this._activeChangeScripts; if (active) this._activeHierarchy(arr, fromSetter); else this._inActiveHierarchy(arr, fromS...
来源: Laya_社区 发布时间: 20231007
...宽度 */ defaultX = 1110 /** 动画是否出于播放状态 */ isPlayIng:boolean = false /** 空格 */ private space:string = "<span> </span>" constructor() { super() this.width = 1200 this.height = 55 this.visible = false this.pos(565,...
来源: Laya_社区 发布时间: 20180314
...gin mPlugin = null; private IPluginRuntimeProxy mProxy = null; boolean isLoad=false; boolean isExit=false; private WebView webView = null; private Activity activity = null; @Override protected void onCreate(Bundle savedInstanceState) { supe...
来源: Laya_社区 发布时间: 20170517
...度。 Parameters alpha: number Returns AlphaCmd clear clear(recoverCmds?: boolean): void Inherited from Graphics.clear Defined in laya/display/Graphics.ts:94 清空绘制命令。 Parameters Default value recoverCmds: boolean = true 是否回收绘图指令数组,设置为true,则对指令数...
来源: Laya3.0_api 发布时间: 20231115
... value) { Log.d("JSBridge", "java: " + value); return 512; } public static boolean testBool(boolean value) { Log.d("JSBridge", "java: " + value); return value ? false : true; } public static void testAsyncCallback(String json) { //js thread try { JSONObject root = new JSONObject(json); Log.d("JSBrid...
来源: Laya2.0_文档 发布时间: 20210714
.../d3/RenderObjs/RenderObj/RenderElementOBJ.ts:14 _invertFront _invertFront: boolean Implementation of IRenderElement._invertFront Inherited from RenderElementOBJ._invertFront Defined in laya/d3/RenderObjs/RenderObj/RenderElementOBJ.ts:28 _isRender _isRender: boolean Implementation of IRenderElement._...
来源: Laya3.0_api 发布时间: 20231115
...nly] 点击性能统计显示区域的处理函数。 Stat renderSlow : Boolean = false[static] 表示当前使用的是否为慢渲染模式。Stat shaderCall : int = 0[static] 着色器请求次数。Stat spriteCount : int = 0[static] 精灵Sprite 的数量。Stat treeNodeCollision : i...
来源: laya_api 发布时间: 20170929