大约有 1,200 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0085 秒)
Laya_社区(569) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(26)
...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
...name : String 名字。 ResourceManager sortedResourceManagersByName : Vector.<ResourceManager>[static] [read-only] 排序后的资源管理器列表。 ResourceManager systemResourceManager : ResourceManager[static] [read-only] 系统资源管理器。 ResourceManagerPublic Methods Me...
来源: laya_api 发布时间: 20170422
...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
...nimatorStateScript 获取脚本。 AnimatorState getScripts(type:Class):Vector.<AnimatorStateScript> 获取脚本集合。 AnimatorStateProperty Detailclippropertyclip:AnimationClip 获取动作。 Implementation public function get clip():AnimationClip public function set cl...
来源: Laya2.0_api 发布时间: 20190513
...dex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照贴图的缩放和偏移。 BaseRender material : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 BaseRender materials : Vector.<BaseMaterial> 获取潜拷贝实例...
来源: Laya2.0_api 发布时间: 20190513
...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
...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
....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
...点击按钮切换注视目标。 ```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
...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