大约有 1,060 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0064 秒)
Laya_社区(730) Laya3.0_api(74) Laya2.0_api(67) laya_api(58) Laya2.0_文档(34) Laya3.0_文档(33) Laya_示例(33) Laya2.0_示例(31)
...lor = new Laya.Vector3(0.6, 0.6, 0.6); var layaMonkey:Laya.Sprite3D = scene.addChild(Laya.Loader.getRes("Export/LayaScene_JJF/Conventional/JJF.lh")) as Laya.Sprite3D; //var layaMonkey = Laya.Loader.getRes("Export/LayaScene_JJF/Conventional/JJF.lh"); la...
来源: Laya_社区 发布时间: 20190531
...加装饰器暴露cube的属性,代码如下: @property({ type: Laya.Sprite3D }) public cube: Laya.Sprite3D; 然后在IDE中,将Cube节点拖入装饰器暴露的属性入口,即可用代码控制Cube节点了。 1. 平移变换 平移变换的定义如下: /** * 平移变换。 * @param t...
来源: Laya3.0_文档 发布时间: 20251010
...kagelaya.uiClasspublic class ProgressBarInheritanceProgressBar UIComponent Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否...
来源: Laya2.0_api 发布时间: 20190513
...显示对象添加到matter.js里的物理引擎世界里 lh文件内meshSprite添加阴影属性无效 为什么给Sprite容器添加点击事件没反应 图片添加点击事件 有的不生效 3d 添加灯光 模型变的黑呼呼的 很多黑面 textinput移除后再添加会将之前的内容...
来源: Laya_社区 发布时间: 20171229
...port Image = Laya.Image import HTMLDivElement = Laya.HTMLDivElement import Sprite = Laya.Sprite import Box = Laya.Box /** 公告栏 */ export default class Notice extends View { /** 滚动区域 */ hornBox: Box /** html对象 */ html: HTMLDivElement /** 滚动框的宽度 */ defaultX = 1110 /** 动...
来源: Laya_社区 发布时间: 20180314
...nvas定位后 点击区域偏移,求大大们解答 关于遍历产生的sprite的点击事件,急,大神帮看哈 问题状态 最新活动: 2020-06-30 13:32 浏览: 297 关注: 2 人
来源: Laya_社区 发布时间: 20200628
用了Sprite3D.instantiate方法,在iPhone6上性能降低了80% import s3d = Laya.Sprite3D; static s3ds:{[key:string]:s3d;} = {}; static news3d(id):s3d{ return x.s3ds[id].clone() as s3d;//s3d.instantiate(x.s3ds[id]); } static loads3d(id, path, handler=null):void{ s3d.load(path, Laya....
来源: Laya_社区 发布时间: 20191004
..., onComplete)); function onComplete() { layaMonkey3D = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey2D = Laya.stage.addChild(new Laya.Image("../../res/threeDimen/monkey.png")); Laya.timer.frameLoop(1, this, animate); } var _position = new L...
来源: Laya_示例 发布时间: 20251130
... Events Packagelaya.d3.terrainClasspublic class TerrainInheritanceTerrain Sprite3D Node EventDispatcher Object Terrain 类用于创建地块。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node...
来源: Laya2.0_api 发布时间: 20190513
...TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_RoateAndScale { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.ali...
来源: Laya2.0_示例 发布时间: 20251130