• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 269 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0050 秒)

21. 组件装饰器说明 · LayaAir3.0文档 · LAYABOX [ 81%]

... 在LayaAir-IDE中,如果想在IDE内展示组件脚本的属性,需要通过装饰器的规则来实现。开发者在查阅本文档时可以先学习一下《实体组件系统》文档,下面分别介绍四种装饰器。 一、@regClass() 开发者编写的组件脚本,需要在类定...

来源: Laya3.0_文档 发布时间: 20240809

22. layaair2-cmd 编译功能BUG [ 81%]

...scene中,对组件操作,设置组件name(为了在runtime实例中通过getChildByName获取子节点),通常设置完name,如果不用IDE里的编译功能,直接在VSCode里跑layaair2-cmd compile任务,运行起来,该组件name总是没有更新的,通过debug发现还是...

来源: Laya_社区 发布时间: 20191127

23. laya.d3.core.light.PointLight [ 80%]

...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...

来源: laya_api 发布时间: 20170929

24. laya.d3.core.light.DirectionLight [ 80%]

...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...

来源: laya_api 发布时间: 20170929

25. laya.d3.core.particle.Particle3D [ 80%]

...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...

来源: laya_api 发布时间: 20170603

26. laya.d3.core.light.SpotLight [ 80%]

...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...

来源: laya_api 发布时间: 20170929

27. laya.map.MapLayer [ 79%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...

来源: Laya2.0_api 发布时间: 20190513

28. list下动画组件visible通过setitem或者dataSource赋值无效 [ 79%]

list下动画组件visible通过setitem或者dataSource赋值无效 这是在IDE中制作的list列表的结构,均给予了name命名 这个是正常运行时的效果图,名字和动画图外边框都在,也正常显示 点击 list并进行setitem赋值隐藏,名字是隐藏了,但是...

来源: Laya_社区 发布时间: 20180901

29. laya.d3.core.light.LightSprite [ 79%]

...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...

来源: laya_api 发布时间: 20170929

30. 如何获取对象的动效模版实例 [ 79%]

...请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 不能通过父级获取到动效动画 2018-03-15 0 5 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 momo199059 相关问题 两个对象new了一个相同的对象,调...

来源: Laya_社区 发布时间: 20180315