大约有 1,200 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0045 秒)
Laya_社区(569) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(26)
...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...
来源: Laya_社区 发布时间: 20180206
...h.meshRender.material = fishmaterial; fish.transform.localScale = new Laya.Vector3(0.001,0.001,0.001); fish.transform.localPosition = new Laya.Vector3(0,1,0); fish.transform.rotate(new Laya.Vector3(0,-Math.PI/2,0)); //移动鱼 Laya.Tween.to(fish,{x:-1},3000,Laya.Ease.linearIn,null) 这个Laya.Tween...
来源: Laya_社区 发布时间: 20170918
...。 Parameters value: boolean Returns void localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CompoundColliderShape.localOffset Defined in laya/d3/physics/shape/ColliderShape.ts:127 Shape的本地偏移。 Returns Vector3 Inherited from CompoundColliderShape....
来源: Laya3.0_api 发布时间: 20231115
...rite3D, parent: Node = null, worldPositionStays: Boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否保持自身世界变换。 - position:世界位置,worldPositionStays为false时生效...
来源: Laya2.0_文档 发布时间: 20210715
...chy : Boolean[read-only] 获取在场景中是否激活。 Node color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 获取灯光的漫反射颜色。 LightSprite displayedInStage : Bo...
来源: Laya2.0_api 发布时间: 20190513
...prite3D=new MeshSprite3D(cylinderMesh); cylinder3D.transform.translate(new Vector3(3,0,0),true); cylinder3D.transform.localScale = new Vector3(2,2,2); cylinder3D.transform.localRotationEuler = new Vector3(90,90,90); role.getChildAt(0).addChild(cylinder3D); this.ani.linkSprite3D("weaponEffect",cylind...
来源: Laya_社区 发布时间: 20170904
...拉伸前后的, 代码处理: this.mHeader.transform.scale = new Laya.Vector3(1,1,3); 而我想要的效果是: 2018-04-17 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 gameuser 相关问题 laya针对页游耗用内存大...
来源: Laya_社区 发布时间: 20180417
...头默认朝向在3D世界里是朝向那个方向呢?还有旋转镜头vector(-30,0,0)是沿着X轴向内还是向外旋转呢,哪个方向是正,哪个方向是负呢,初学者望指点一二。或者有没有入门的3D教程,官方的教程已经看了,不是指laya3d引擎的入门...
来源: Laya_社区 发布时间: 20170817
...script setShaderData//设置shader数据,可以设置shader中的texture vector number等 setGlobalShaderData//设置全局数据,可以用于所有的shader blitScreenQuad//通过全屏四边形将源纹理渲染到目标渲染纹理指令。 blitScreenQuadByMaterial//通过全屏四边形将...
来源: Laya2.0_文档 发布时间: 20210715
...Light = scene.addChild(new Laya.PointLight()); pointLight.color = new Laya.Vector3(0.1189446, 0.5907708, 0.7352941); pointLight.transform.position = new Laya.Vector3(0.4, 0.4, 0.0); pointLight.attenuation = new Laya.Vector3(0.0, 0.0, 3.0); pointLight.range = 3.0; 2017-12-19 0 4 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20171219