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

大约有 2,792 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)

2731. laya.d3.core.light.PointLight_API3.0 [ 44%]

...s PointLight deprecated PointLight 类用于创建点光。 Hierarchy LightSprite PointLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWo...

来源: Laya3.0_api 发布时间: 20231115

2732. 多行输入文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 44%]

... export class TextAreaControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.TextArea } ) public txtarea: Laya.TextArea; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake():...

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

2733. [LayaAirIDE3]咋么实现鼠标点击角色移动 [ 44%]

... export default class iceMonster extends Laya.Script { declare owner: Laya.Sprite; /** 用于兜底的 Animator2D(可选) */ private _animator: Laya.Animator2D; /** 承载 .mc 的动画播放器 */ private iceMonsterAni: Laya.Animation; /** 资源前缀 */ private readonly ANIMATION_PATH: string...

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

2734. laya.d3.core.light.SpotLight_API3.0 [ 44%]

...ass SpotLight deprecated SpotLight 类用于创建聚光。 Hierarchy LightSprite SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWor...

来源: Laya3.0_api 发布时间: 20231115

2735. oppo小游戏修改逻辑发布不生效,且包体包含资源太大 [ 44%]

...片 执行代码说加载不出来资源 这个是怎么回事? new Laya.Sprite();绘制图形以后,怎么删除释放资源? LayaAirIDE1.4版本里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 用Mac下Unity5.6.2f1导出的模...

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

2736. 使用滤镜报错 [ 44%]

...FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:1849:21) at RenderSprite3D.__proto._graphics (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:5125:41) at RenderSprite3D.Filter._filter [as _fun] (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:20771:17...

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

2737. 视频节点 · LayaAir3.4 · 引擎文档 · LAYABOX [ 44%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let video = new Laya.VideoNode; //添加到舞台 Laya.stage....

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

2738. laya.d3.core.light.DirectionLight_API3.0 [ 44%]

...Light deprecated DirectionLight 类用于创建平行光。 Hierarchy LightSprite DirectionLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lig...

来源: Laya3.0_api 发布时间: 20231115

2739. html固定宽高,设置垂直居中没有效果。只有水平居中才生效。看了下源码,感觉在updatePos函数里的算法不对 [ 44%]

...定, 无法添加新回复 发起人 momo199059 相关问题 如何设置Sprite的宽高和点击区域? 使用钢体设置防穿后仍有几率会穿透 龙骨skeleton鼠标点击区域的设置 Laya3D里的material可以设置flat shading么 关于shader中opengl函数问题 list 每次滑动,...

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

2740. TypeScript在LayaAir 1.X和2.X中对待module和namespace的异同,求2.x使用自定义namespace的方法(module已经找到方法) [ 43%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 使用3D时候,Property 'getComponentByType' does not exist on ...

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