大约有 1,011 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0115 秒)
Laya_社区(717) Laya3.0_api(68) Laya2.0_api(59) laya_api(56) Laya2.0_文档(47) Laya3.0_文档(27) Laya_示例(27) Laya2.0_示例(10)
希望加入视频实时渲染到 sprite3d 材质上 希望加入视频实时渲染到 sprite3d 材质上 希望加入alpha视频处理 AR的应用越来越广泛, 这两个是比较普遍的需求 2017-10-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20171031
...ass() export class Main extends Laya.Script { @property({ type: Laya.Sprite }) public player: Laya.Sprite; @property({ type: Laya.Sprite }) public joystick: Laya.Sprite; @property({ type: Laya.Sprite }) public map: Laya.Sprite; @property({ type: Laya.S...
来源: Laya_社区 发布时间: 20251125
图片加载问题 var s:Sprite = new Sprite; s.loadImage("res/soil.png"); Laya.stage.addChild(s); chrome报错:Access to Image at 'file:///E:/study/LayaAirStudy/bin/h5/res/soil.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed acces...
来源: Laya_社区 发布时间: 20170116
...BG.jpg"); Laya.stage.frameLoop(1, this, this.animate); } animate() { const Sprite = Laya.Sprite, Point = Laya.Point; let laser; if (tick > frequency) { tick = 0; // iterate through the dudes and update the positions laser = new Sprite(); laser.loadImage("res/pixi/laser0" + ((type % 5) + 1) + ".png")...
来源: Laya2.0_示例 发布时间: 20260303
...agelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button UIComponent Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dat...
来源: Laya2.0_api 发布时间: 20190513
...itArea来实现,至于你说的不规则图形的话,你可以用添加sprite的方法试试 2017-11-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 HummerMan 相关问题 微信关系链:LayaAir引擎针对微信小游戏好友...
来源: Laya_社区 发布时间: 20171121
...被折叠 要回复问题请先登录 发起人 问题不大 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 请问LayaAir中如何使图片以圆形的方式显示? Dialog:屏蔽点击Dialog之外的区域关闭弹框 缓动Tween能用在3D物体或者特效上面吗...
来源: Laya_社区 发布时间: 20210925
...我们可以通过它们来获取模型上的材质。 **Tips**:MeshSprite3D模型中为meshRenderer,SkinnedMeshSprite3D模型中为skinnedMeshRenderer。 ###### 这两个类多是一些继承自'父类'的共有的接口,可以查看'父类' **BaseRenderer** 的API([API地址](https://l...
来源: Laya2.0_文档 发布时间: 20210715
fillTexture使用问题 sprite使用drawTexture是可以正常使用的,但是用fillTexture时无任何效果。 class Map extends laya.display.Sprite { static width: number = 1188; static height: number = 594; constructor() { super(); Laya.loader.load("res/images/map_01.png", Laya.Handler.creat...
来源: Laya_社区 发布时间: 20170714
...ts Packagelaya.uiClasspublic class MoreGameInheritanceMoreGame View Scene Sprite Node EventDispatcher Object 游戏中心插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarc...
来源: Laya2.0_api 发布时间: 20190513