大约有 440 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0076 秒)
...ht.direction = new Laya.Vector3(1, -1, -1); //平面 var plane: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(6, 6, 10, 10))) as Laya.MeshSprite3D; var planeMat: Laya.StandardMaterial = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../...
来源: Laya_社区 发布时间: 20180820
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale layabox真的只能做棋牌吗?和flash比谁更强?本视频给你答疑解惑! 编译调试启动chrome出现错误: Error processing launc...
来源: Laya_社区 发布时间: 20230213
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 关于Laya实现Matter.js官方案例...
来源: Laya_社区 发布时间: 20151217
... 在unity场景中有粒子特效和摄像机。导出lh后在laya中使用Sprite3D加载,怎么样才能去修改Unity中摄像机物体的坐标,或者粒子特效根节点的坐标 ?我现在场景里面的根节点不是摄像机也不是物体坐标 yaorao • 2018-03-27 17:45 @yaorao:我...
来源: Laya_社区 发布时间: 20180327
...搐了一下 引擎版本2.0.1beta 没有锁帧 克隆方式: Laya.Sprite3D.instantiate(sprite,parent,isHoldWorldPos,pos); 播放方式: this.animator.speed = speedRate; // animState._resetPlayState(0);//animState._elapsedTime this.animator.crossFade(animName, 0.1, 0, normalizedTime); 附...
来源: Laya_社区 发布时间: 20190905
...,微信小游戏 Android 端调整 “在屏 Canvas” 的放缩策略 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 纹理平铺怎么做 LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 分享:打地...
来源: Laya_社区 发布时间: 20231020
...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体...
来源: Laya_社区 发布时间: 20190317
...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2: Laya.Sprite; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均...
来源: Laya3.0_文档 发布时间: 20251010
...型,怎么调用一个png里面不同位置的贴图。var maJiang:MeshSprite3D = new MeshSprite3D(Mesh.load("3d/maJiang/asdsad-default015.lm")); scene.addChild(maJiang);默认是加载的UV贴图里面的第一张贴图,怎么去掉用其他位置的图片。我的贴图是附件里面的,默...
来源: Laya_社区 发布时间: 20170311
...这个精灵(麻将牌)在场景中会出现多个,所以会多次调用Sprite3D.instantiate()方法复制多份精灵加入到这个3d场景。 问题出现在把这些后加入的精灵移出场景或者active=false后,渲染就出问题了:被移出的精灵还显示着,但是ls场景...
来源: Laya_社区 发布时间: 20190104