大约有 952 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0069 秒)
...om GeometryElement.destroyed Defined in laya/d3/core/GeometryElement.ts:87 获取是否销毁。 Returns boolean 是否销毁。 drawType get drawType(): number set drawType(value: number): void Inherited from GeometryElement.drawType Defined in laya/d3/core/GeometryElement.ts:52 draw Type Returns n...
来源: Laya3.0_api 发布时间: 20231102
...etFileName getFileName(url: string): string Defined in laya/net/URL.ts:220 获取指定 URL 的文件名。 Parameters url: string 地址。 Returns string 返回文件名。 Static getPath getPath(url: string): string Defined in laya/net/URL.ts:210 获取指定 URL 的文件夹路径(不包括文...
来源: Laya3.0_api 发布时间: 20231115
...信小游戏掉帧严重 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 关于使用matterjs物理引擎鼠标问题 LayaAirIDE1.4版本里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 【BUG备忘录】关于Tween动...
来源: Laya_社区 发布时间: 20220822
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...
来源: laya_api 发布时间: 20170929
...中返回的完整场景scene添加到舞台 Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); /** ** 省略其它代码若干,可前往Layabox官网示例或相关文档中查看 */ })); ``` ##### 5.2.2 预设的加载与使用(.lh) 有一些模型或...
来源: Laya2.0_文档 发布时间: 20210714
...om GeometryElement.destroyed Defined in laya/d3/core/GeometryElement.ts:87 获取是否销毁。 Returns boolean 是否销毁。 drawType get drawType(): number set drawType(value: number): void Inherited from GeometryElement.drawType Defined in laya/d3/core/GeometryElement.ts:52 draw Type Returns n...
来源: Laya3.0_api 发布时间: 20231115
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? TextInput重写onFocus和onBlur事件监听不到 LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, FD 宏编译时 出现 试图访问该方法时失败 ...
来源: Laya_社区 发布时间: 20180621
...clickHandler():void{ var url:string = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 this.qrcodeSp.loadImage(url,0,0,100,100); } } new Main; ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到...
来源: Laya2.0_文档 发布时间: 20210715
...hape:Laya.BoxColliderShape = new Laya.BoxColliderShape(0.5, 0.4, 0.045); //获取本地偏移 var localOffset:Laya.Vector3 = boxShape.localOffset; //修改偏移 localOffset.setValue(0, 0, 0.125); boxShape.localOffset = localOffset; //为复合碰撞形状对象添加子形状(刚刚创建的盒...
来源: Laya2.0_文档 发布时间: 20210715