大约有 353 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0060 秒)
Laya_社区(87) laya_api(85) Laya3.0_api(84) Laya2.0_api(71) Laya2.0_文档(19) Laya3.0_文档(6) Laya_示例(1)
... Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEqu...
来源: laya_api 发布时间: 20170929
...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
...到MeshSprite3D身上。 修复完这个错误,在SphereCollider中可以获取该包围球,那边可以简单调试下,明确具体问题! 2017-06-12 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 demibug 相关问题 sprite旋...
来源: Laya_社区 发布时间: 20170612
...nds(realSize?: boolean): Rectangle Defined in laya/display/Graphics.ts:201 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Parameters Default value realSize: boolean = false (可选)使用图片的真实大小,默认为false Returns Rectangle 位...
来源: Laya3.0_api 发布时间: 20231115
... imgUrl:String = (this.flag = !this.flag)? this.monkey2:this.monkey1; //获取图片资源 var texture:Laya.Texture = Laya.loader.getRes(imgUrl); //绘制纹理 this.img.graphics.drawTexture(texture); //设置纹理宽高 this.img.size(texture.width, texture.height); <!-- 我...
来源: Laya_社区 发布时间: 20180226
...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
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...
来源: laya_api 发布时间: 20170929
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170929
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170929
... Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEqu...
来源: laya_api 发布时间: 20170929