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

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

201. Laya3D 中如何解决3D模型上添加文本的问题,类似Unity中的3DText [ 64%]

...ic title: string; constructor(){ super(); } public _initialize(owner: Laya.Sprite3D): void { super._initialize(owner); var sprite3D = this.owner as Laya.MeshSprite3D; var sprite3DMat = new Laya.StandardMaterial(); sprite3DMat.cull = Laya.BaseMaterial.CULL_NONE; var imageData = this.canvasWrapText({c...

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

202. 物理碰撞器(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 64%]

...1所示。 ```typescript //平面 var plane = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10))); //新建材质 var planeMat = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(this, function(tex) { planeMat...

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

203. 使用Pool的时候创建的对象怎么传递参数 [ 64%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement...

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

204. Unity导出插件导出的模型中Transform值有误 [ 64%]

...:let colliderItem = this._rootNode.getChildByName("XCD_zhazhiji") as Laya.Sprite3D; console.log(colliderItem.transform.localRotationEuler);得出结果: 附上导出以后ls源文件截图:   另外这个模型有点特殊,这个节点(XCD_zhazhiji)的旋转是不影响模型本身旋转的,它的...

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

205. 对象池使用报错 [ 64%]

...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getComp...

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

206. 动画状态机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...有下面几部分构成: 动画状态机组件 Animator Component :是Sprite3D上的一个组件,用来控制动画状态机的接口。 动画状态机文件 Animator Controller :是一个文件,用来执行整个状态机逻辑,驱动动画状态运行,执行状态切换。同时定...

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

207. 3D模式下使用Tween使模型移动如何写法 [ 64%]

...型移动如何写法 //载入并显示鱼模型 var fish = new Laya.MeshSprite3D(Laya.Mesh.load("fish/denglongyu/denglongyuANI-denglongyu.lm")); scene.addChild(fish); var fishmaterial = new Laya.StandardMaterial(); //漫反射贴图 fishmaterial.diffuseTexture = Laya.Texture2D.load("fish/denglongyu...

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

208. laya.d3.component.Animator_API3.0 [ 64%]

...ontrollerLayer getCurrentAnimatorPlayState getDefaultState hasHideFlag linkSprite3DToAvatarNode onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate play removeState unLinkSprite3DToAvatarNode Constructors constructor new Animator(): Animator Ov...

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

209. LayaAir里面的拖尾如何使用? [ 64%]

...过这个拖尾的同学吗?这个应该怎样使用呢? new Laya.TrailSprite3D() new Laya.TrailMaterial() 2018-07-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 这个类是给unit...

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

210. 导入缩放过带有MeshCollide时出错,Cannot read property 'setLocalScaling' of undefined [ 63%]

...)     at PhysicsCollider.__proto._setActive (laya.core.js:7072)     at Sprite3D.__proto._activeHierarchy (laya.core.js:13777)     at Sprite3D.__proto._activeHierarchy (laya.core.js:13784)     at Scene3D.__proto._activeHierarchy (laya.core.js:13784)     at Scene3D.__proto._processActive (la...

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