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

大约有 1,200 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0085 秒)

671. 目标纹理的使用(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 70%]

...mera(0, 0.3, 1000)) as Camera; renderTargetCamera.transform.position = new Vector3(-28.8, 8, -60); renderTargetCamera.transform.rotate(new Vector3(0, 180, 0), true, false); //选择渲染目标为纹理 renderTargetCamera.renderTarget = new RenderTexture(512, 512); //渲染顺序 renderTargetCamera....

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

672. laya.resource.ResourceManager [ 70%]

...name : String 名字。 ResourceManager  sortedResourceManagersByName : Vector.<ResourceManager>[static] [read-only] 排序后的资源管理器列表。 ResourceManager  systemResourceManager : ResourceManager[static] [read-only] 系统资源管理器。 ResourceManagerPublic Methods  Me...

来源: laya_api 发布时间: 20170422

673. 加载学堂3D角色资源,播放动画异常 [ 70%]

...oad("man/hero-mon_1129.lm")); this.roleMan.transform.localScale = new Laya.Vector3(0.01,0.01,0.01); this.roleMan.transform.localPosition = new Laya.Vector3(0,-0.5,-3); this.scene.addChild(this.roleMan); //给男角色添加贴图动画 var manAni:Laya.SkinAnimations = this.roleMan.addComponent(Laya....

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

674. laya.d3.component.AnimatorState [ 69%]

...nimatorStateScript 获取脚本。 AnimatorState  getScripts(type:Class):Vector.<AnimatorStateScript> 获取脚本集合。 AnimatorStateProperty Detailclippropertyclip:AnimationClip 获取动作。 Implementation     public function get clip():AnimationClip    public function set cl...

来源: Laya2.0_api 发布时间: 20190513

675. laya.d3.core.particleShuriKen.ShurikenParticleRenderer [ 69%]

...dex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照贴图的缩放和偏移。 BaseRender material : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 BaseRender materials : Vector.<BaseMaterial> 获取潜拷贝实例...

来源: Laya2.0_api 发布时间: 20190513

676. 物体碰撞问题 [ 69%]

...ateBox(1, 1, 1))) as Laya.MeshSprite3D; box_1.transform.translate(new Laya.Vector3(0, 5, 0)); var boxRigidBody_1 : Laya.Rigidbody3D = box_1.addComponent(Laya.Rigidbody3D); var boxShape_1 : Laya.BoxColliderShape = new Laya.BoxColliderShape(1, 1, 1); boxRigidBody_1.colliderShape = boxShape_1; boxRigid...

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

677. unity 导出模型 [ 69%]

...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.8, 1.0)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; camera.addComponent(CameraMoveScript); var map=Laya.Sprite3D.load("H5/Main.lh"); scene.addChild(map);   2017...

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

678. 2.8.0上默认模型不能产生和接受阴影 [ 69%]

....DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 0)); directionLight.shadowMode = Laya.ShadowMode.SoftLow; directionLight.shadowDistance = 100; directionLight.shadowNearPlane = 1...

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

679. 摄像机捕捉目标(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 69%]

...点击按钮切换注视目标。 ```typescript //up向量 private var _up:Vector3 = new Vector3(0, 1, 0); ``` ```typescript //点击事件 changeActionButton.on(Event.CLICK, this, function():void{ index++; if (index % 3 === 1 ){ //摄像机捕捉模型目标 camera.transform.lookAt(box.transform.po...

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

680. 微信小游戏报错 requestAnimationFrame [ 69%]

...85*****127 赞同来自: 这个问题是 this.camera.clearColor = new Laya.Vector3(0.5, 0.5, 0.5);应该是Vector4,但是这个错误也太蛋疼了。。 pc上,微信开发工具上都没报错。。 2018-05-03 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目...

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