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

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

221. 时间轴动画 · LayaAir3.4 · 引擎文档 · LAYABOX [ 29%]

...egClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } event1(p1:any, p2:any): void { console.log("event1",p1,p2); } } 在脚本中创建event1的方法和接收两个参数,最后我们来运行动画,看看运行结果: (图10-4) C...

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

222. laya.device.media.Video_API3.0 [ 28%]

... https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite Video Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name videoElement CAMERA MP4 OGG SUPPORT_MAYBY SUPPORT_NO SUPPORT_PROBABLY WEBM drawtocanv...

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

223. laya.media.VideoNode_API3.0 [ 28%]

... https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite VideoNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alp...

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

224. LayaAir引擎工具会员专属功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 28%]

...ion():void { var img:Texture = Laya.loader.getRes("comp/comp.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage.addChild(sp); })); Laya.loader.load("res/atlas/test.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("test/test.png"); var sp:...

来源: Laya2.0_文档 发布时间: 20210714

225. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 22%]

...u 正文【不分功能和吐槽顺序,写随心生】: 1.mouseEnabled sprite我在原地画了个圆为什么只有右下区域能点击,明明设置了mouseEnabled=true,设置了size了呢?虽然官方的文档说明里有介绍,真心很多不细看的人压根不知道,也包括我...

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

226. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 22%]

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

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

227. 3D物理系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 18%]

...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

228. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 18%]

...     Batch Make The First Level Game Objects     批量导出(选择sprite3d才会有)批量导出场景中所有一级节点         Other Setting   ---    其他设置                  Cover Original Export Files                          导出时覆盖原始...

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