大约有 6,906 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0124 秒)
Laya_社区(6235) Laya2.0_文档(147) Laya3.0_api(118) laya_api(102) Laya2.0_api(90) Laya_示例(86) Laya3.0_文档(71) Laya2.0_示例(57)
...w Laya.GlowFilter("#08f6e3", 7, 0, 0); (this as Laya.Sprite).filters = [glowFilter]; } 2021-01-23 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 麻烦提交可以运行的demo case,你提交的例子现在是报错,你可以提交简单的demo case工程,...
来源: Laya_社区 发布时间: 20210122
...方式存储,可以通过cmds属性访问所有命令流。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(比如把大量的节点绘图改为一个节点的Graphics命令集合,能减少大量节点创建消耗)。 See alsolaya.display.Sprite.graphicsPublic Proper...
来源: Laya2.0_api 发布时间: 20190513
...s() export class LabelControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.Label } ) public lab: Laya.Label; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { th...
来源: Laya3.0_文档 发布时间: 20251010
...nimation scalex=-1 反向之后问题 调用frameLoop之后,怎么清除 sprite设置了cacheas,removechild再addchild之后原先设置的cacheas无效,通过监测面板可以看到。请问这是不是bug? 自定义的ts文件编译成js文件之后不会自动添加到index里面的吗...
来源: Laya_社区 发布时间: 20180626
...onent.scriptPath Defined in laya/components/Component.ts:35 target target: Sprite Defined in laya/effect/EffectBase.ts:21 效用作用的目标对象,如果为空,则是脚本所在的节点本身 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/C...
来源: Laya3.0_api 发布时间: 20231115
...yCube.ltc"); camera.sky = skyBox; var earth1 = scene.addChild(new Laya.MeshSprite3D(new Laya.SphereMesh())); earth1.transform.position = new Laya.Vector3(-0.6, 0, 0); var earth2 = scene.addChild(new Laya.MeshSprite3D(new Laya.SphereMesh())); earth2.transform.position = new Laya.Vector3(0.6, 0, 0); v...
来源: Laya_示例 发布时间: 20260303
...onent.scriptPath Defined in laya/components/Component.ts:35 target target: Sprite Inherited from EffectBase.target Defined in laya/effect/EffectBase.ts:21 效用作用的目标对象,如果为空,则是脚本所在的节点本身 Accessors awaked get awaked(): boolean Inherited from Component.aw...
来源: Laya3.0_api 发布时间: 20231115
...onent.scriptPath Defined in laya/components/Component.ts:35 target target: Sprite Inherited from EffectBase.target Defined in laya/effect/EffectBase.ts:21 效用作用的目标对象,如果为空,则是脚本所在的节点本身 Accessors awaked get awaked(): boolean Inherited from Component.aw...
来源: Laya3.0_api 发布时间: 20231115
...包找不到图集文件 laya2.2 导出场景物理碰撞问题 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 模型资源释放问题 做好的粒子特效在U3D里循环正常。在LAYA插件里预览跳帧闪烁。序列素材本身也是循环的。但是不知道为什么...
来源: Laya_社区 发布时间: 20171027
...m() * 0.5 + 0.8; //创建圆锥形3D模型节点对象 let cone = new Laya.Sprite3D; let coneMesh = cone.addComponent(Laya.MeshFilter); let coneRender = cone.addComponent(Laya.MeshRenderer); // 创建网格 coneMesh.sharedMesh = Laya.PrimitiveMesh.createCone(0.25, 0.75); // 创建材质 let coneMate...
来源: Laya3.0_文档 发布时间: 20251010