大约有 807 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0091 秒)
Laya_社区(399) Laya3.0_api(148) Laya2.0_api(95) laya_api(79) Laya2.0_文档(71) Laya3.0_文档(14) Laya_示例(1)
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 currentCreationLayer currentCreationLayer: number = Math.pow(2, 0) Defined in laya/d3/core/scene/Sc...
来源: Laya3.0_api 发布时间: 20231115
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node allowClickBack : Boolean 一个布尔值,指定是否允许通过点击滑动条改变 Slider 的 value 属...
来源: Laya2.0_api 发布时间: 20190513
.../skyBox/DawnDusk/SkyBox.lmat", Laya.Handler.create(null, function(mat) { //获取相机的天空盒渲染体 var skyRenderer:SkyRenderer = camera.skyRenderer; //设置天空盒mesh skyRenderer.mesh = Laya.SkyBox.instance; //设置天空盒材质 skyRenderer.material = mat; //设置场景的反射贴...
来源: Laya2.0_文档 发布时间: 20210715
...:此组件所属的3D对象 */ public _load(owner:Laya.Sprite3D):void{ //获取控制器UI this.rocker = Example_roleControl.rocker; this.attack = Example_roleControl.attack; } /*覆写加载组件的3D对象实例化完成后,第一次更新时执行*/ public _start(state:Laya.RenderState):void...
来源: Laya_社区 发布时间: 20171113
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...
来源: laya_api 发布时间: 20170929
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: 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
... console.log(publicDefine,spriteDefine,materialDefine); } } //递归获取子对象 if (model._children) { for (var i: number = 0; i < model._children.length; i++) { this.compileShader(model._children[i]); } } } 2019-04-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20190404
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...
来源: laya_api 发布时间: 20170929