大约有 317 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0115 秒)
...ani.interval = Math.round(1000/aniProps.mc[options.srcName].frameRate); // 设置动画的帧率 ani.autoPlay = options.autoPlay; // 设置动画是否自动播放 }; 给个hack参考,只要相同帧数的一种动画类型定义一个.ani就行了,比如roleWeapon_8f.ani(玩家武器的8帧...
来源: Laya_社区 发布时间: 20190215
[LayaNative3]3.2.0-beta2的windows模拟器启动黑屏 1、项目设置里一旦勾选了【显示vConsole】后,会导致windows模拟器永久性启动黑屏,删除并重装windows构建组件依旧无法解决。 2、windows打包时无法自选启动场景,打包后运行导致黑屏。 ...
来源: Laya_社区 发布时间: 20240701
...E, init); stage.scaleMode = StageScaleMode.NO_SCALE;//设置舞台的缩放模式和对齐方式 stage.align = StageAlign.TOP_LEFT; //setWindowFullSize(); IFlash.setOrientationEx(1); //是否为横屏模式,默认横...
来源: Laya_社区 发布时间: 20170317
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: laya_api 发布时间: 20170929
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: Laya2.0_api 发布时间: 20190513
...Component Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...
来源: Laya2.0_api 发布时间: 20190513
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...
来源: laya_api 发布时间: 20170929
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: Laya2.0_api 发布时间: 20190513
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: Laya2.0_api 发布时间: 20190513
...听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAsynLoaded(url:String, data:*, params:Array):void private Sprite3D onc...
来源: laya_api 发布时间: 20170929