大约有 1,011 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0073 秒)
Laya_社区(717) Laya3.0_api(68) Laya2.0_api(59) laya_api(56) Laya2.0_文档(47) Laya3.0_文档(27) Laya_示例(27) Laya2.0_示例(10)
...属GLSL文件(高阶操作不推荐直接使用) u_WorldMat 世界矩阵 Sprite3DCommon.glsl u_ProjectionParams(near, far, invert, 1 / far) 投影参数 Camera.glsl u_Viewport(x, y, width, height) 视口 Camera.glsl u_CameraDirection 相机方向 Camera.glsl u_CameraUp 相机上朝向 Camera.glsl u_...
来源: Laya3.0_文档 发布时间: 20251010
...nAssetLoad)); } function onAssetLoad() { older = new Laya.Sprite(); older.loadImage("../laya/assets/comp/image.png"); Laya.stage.addChild(older); console.log(older.scaleX,older.scaleY,older.rotation,older.x,older.y, older.width,older.height,older.getBounds()....
来源: Laya_社区 发布时间: 20170118
....addChild(new Laya.DirectionLight()); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); var translate = new Laya.Vector3(0, 0, 0); //(500, 500, 0)改为(0,0,0) var rotation = new Laya.Vector3(0, 0.01, 0); layaMonkey.once(Laya.Event.HI...
来源: Laya_社区 发布时间: 20170807
...ick_effectUI.uiView={"type":"View","props":{},"compId":2,"child":[{"type":"Sprite","props":{"y":0,"x":0,"texture":"ani/p1.png"},"compId":3}],"animations":[{"nodes":[{"target":3,"keyframes":{"scaleY":[{"value":1,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":0},{"value":0.5...
来源: Laya_社区 发布时间: 20210111
... Static WORLDINVERTFRONT WORLDINVERTFRONT: number Inherited from RenderableSprite3D.WORLDINVERTFRONT Defined in laya/d3/core/Sprite3D.ts:31 Static _contextScissorPortCatch _contextScissorPortCatch: Vector4 = new Vector4(0, 0, 0, 0) Inherited from Camera._contextScissorPortCatch Defined in laya/d3/co...
来源: Laya3.0_api 发布时间: 20231115
...请求有Bug? ios14系统下 blendMode='lighter' 图片异常 matter中layasprite怎么改变图片大小? laya怎么跨域加载图片 unity到导出场景加载时抛异常,不知所措 构建iOS工程后,真机上运行显示“网络异常,请检查您的网络或与开发商联系...”...
来源: Laya_社区 发布时间: 20180928
...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
...否进行翻转? IDE通过.ui自动生成的ui代码报错 为什么给Sprite容器添加点击事件没反应 3d 添加灯光 模型变的黑呼呼的 很多黑面 JS 是没有自动补全提示吗 localToGlobal坐标转换 关于龙骨动画转换 问题状态 最新活动: 2017-10-27 11:54 浏...
来源: Laya_社区 发布时间: 20171025
...{ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRenderer...
来源: Laya2.0_文档 发布时间: 20210715
...{ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRenderer...
来源: Laya2.0_文档 发布时间: 20210714