大约有 1,227 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0061 秒)
image在相应loaded的时候,无法正确获取高度 class RoleUIDynamic extends Laya.Image { matterBody: Matter.Body; constructor() { super(); this.on('start', this, this.init); } private init():void { console.log("init", this.x, this.y, this.width, this.height, this.scaleX, this.scaleY); var ...
来源: Laya_社区 发布时间: 20180530
...al:BlinnPhongMaterial = box.meshRenderer.material as BlinnPhongMaterial; //获取BlinnPhong材质的纹理 var tex:Texture2D = boxMaterial.albedoTexture as Texture2D; //获取相机渲染目标的像素数据,默认renderTarget的颜色为RGBA var out:Uint8Array = new Uint8Array(2048*2048*4); render...
来源: Laya2.0_文档 发布时间: 20210714
...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
...s Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是...
来源: laya_api 发布时间: 20170929
...d Public Properties PropertyDefined By boundingBox : BoundBox[read-only] 获取AABB包围盒,禁止修改其数据。 BaseMesh boundingBoxCorners : Array[read-only] 获取包围球顶点,禁止修改其数据。 BaseMesh boundingSphere : BoundSphere[read-only] 获取包围球,禁止修改其数...
来源: laya_api 发布时间: 20170929
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170929
...t类中竟然没有pos函数的api~ spine动画播放后图集错乱 怎样获取浏览器地址传过来的GET参数 2.0 drawTexture color参数无效 spine骨骼动画如何获取某个骨骼的坐标 spine 预加载怎么弄?用loadAni??? 引擎有没有管理或访问系统剪贴板的...
来源: Laya_社区 发布时间: 20180531
...个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? 求助关于TiledMap的版本问题 FD 宏编译时 出现 试图访问该方法时失败 怎样获取浏览器地址传过来的GET参数 2.0 drawTexture color参数无效 LayaNati...
来源: Laya_社区 发布时间: 20171229
...ir项目https://ldc.layabox.com/doc/?nav=zh-as-7-0-1。出现了问题 laya获取网页链接 Ctrl + 单击以跟踪链接 怎么可以打开到新标签页,而不是每次都覆盖掉上次打开的? 官网网站上的演示链接,在微信上无反应。 请问如何为按钮设置超链接...
来源: Laya_社区 发布时间: 20180530
...起人 Anoxia 相关问题 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 摄像机跟随刚体移动,刚体出现抖动。 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 重力感应 Accelerator 发布微信游戏后失效。是因为什么? 想让一个2D的图形被鼠...
来源: Laya_社区 发布时间: 20210201