大约有 650 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: laya_api 发布时间: 20170422
【Laya2.1BUG】 给view设置runtime后,类型是any typescript项目,加载模式,新建一个Aview,把Aview拖到其他view中,设置Aview的runtime和var,发现生成的UI代码中Aview对应变量的类型是any ----------------------------------------------------------------...
来源: Laya_社区 发布时间: 20190531
...ViewUI = new ui.ParentViewUI(); Laya.stage.addChild(parent); //当注释掉设置rotaion的代码则没有问题,否则会导致显示异常,其他child消失 parent.child_1.rotation = Math.random() * 180; } } class ChildView extends ui.ChildViewUI{ constructor(){ super(); var panel = new Laya.Pan...
来源: Laya_社区 发布时间: 20170829
...oid平台 报错 btCollisionObject undefined 关于同为object层,层级设置无效的问题 Laya2.1.0 JS调用Java PlatformClass undefined Uncaught TypeError: Cannot read property 'props' of undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined Warning!,this class[MiniAdpt...
来源: Laya_社区 发布时间: 20170523
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: laya_api 发布时间: 20170929
... 3.0编辑器已经识别出这个Fbx文件具有Animator属性,并可以设置是否可开启压缩。 (图3-2) 当我们拖Fbx模型到场景中时,会自动添加动画状态机组件。打开时间轴动画面板,会自动创建动画状态机文件,如图3-3所示: (图3-3) ...
来源: Laya3.0_文档 发布时间: 20251010
....0-beta6无法选择资源了 mask或者自定的image等类型属性无法设置,点击选择弹出框显示None,也无法拖放! 代码如下: @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property(String) public text: string =...
来源: Laya_社区 发布时间: 20230412
...听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAsynLoaded(url:String, data:*, params:Array):void private Sprite3D onc...
来源: laya_api 发布时间: 20170929
...nsform)是对的一个.lh文件? 非常简单的几个GameObject 导出设置 LAYA的效果 LAYA代码 引擎版本1.7.18,UNITY插件版本LayaAirUnityPlugin 1.7.16 u3d.zip改为u3d.unitypackage就可以导入unity了 附件 : --> position.zip u3d.zip 2018-08-01 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20180801
...听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAsynLoaded(url:String, data:*, params:Array):void private Sprite3D onc...
来源: laya_api 发布时间: 20170929