大约有 877 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0068 秒)
...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
...Inherited Public Properties PropertyDefined By angularDamping : Number 获取刚体的角阻力。 Rigidbody3D angularFactor : Vector3 获取角因子。 Rigidbody3D angularVelocity : Vector3 获取角速度。 Rigidbody3D canCollideWith : int 获取可碰撞的碰撞组。 PhysicsCompone...
来源: Laya2.0_api 发布时间: 20190513
...o 附件 Layaair IDE的帧属性面板不见了 请问有没有方法能够获取“鼠标是否处于按下状态”? 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? 编译调试启动chrome出现错误: Error pr...
来源: Laya_社区 发布时间: 20170913
...aphicsImg)); } private graphicsImg():void{ this.img = new Laya.Sprite(); //获取图片资源,绘制到画布 this.img.graphics.drawTexture(Laya.loader.getRes(this.Res),150,50); //添加到舞台 Laya.stage.addChild(this.img); } } new MaskDemo(); ``` 运行效果如图2所示: ...
来源: Laya2.0_文档 发布时间: 20210715
...个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 关于近期iOS提交,因违...
来源: Laya_社区 发布时间: 20250123
...下述示例演示了如何通过代码设置下拉选项,并通过点击获取到选项。 运行示例效果: (动图2-1) 示例代码: const { regClass, property } = Laya; @regClass() export class UI_ComboBox extends Laya.Script { private skin: string = "resources/res/ui/combobox.png";/...
来源: Laya3.0_文档 发布时间: 20251010
...耗用内存大的问题是如何解决的? 请问有没有方法能够获取“鼠标是否处于按下状态”? liblayaair.so 总是崩溃,有没有官方人员帮忙解决一下啊 Dialog:屏蔽点击Dialog之外的区域关闭弹框 救命!canvas定位后 点击区域偏移,求大...
来源: Laya_社区 发布时间: 20180319
...nvas播放一个长视频,每播一帧取到base64/image数据(用todataurl获取),给image标签的skin属性赋值一次,十五分钟内浏览器就会奔溃,目前测试到google浏览器,欧朋浏览器,火狐会出现这个问题 2017-02-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20170217
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...,此方法只执行一次 */ override public function onAwake():void{ //获取脚本的拥有者 meshsp = this.owner as MeshSprite3D; } //物体必须拥有碰撞组件(Collider) //当被鼠标点击 override public function onMouseDown(e:Event):void{ //trace("点击到了我box",owner.name); ...
来源: Laya2.0_文档 发布时间: 20210715