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

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

81. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 57%]

...n"); //调整胖子的相对旋转,相对位移,以及缩放。 pangzi.transform.localRotation = _rotation; pangzi.transform.localPosition = _position; pangzi.transform.localScale = _scale; ``` 点击事件中的部分挂点的移除代码: ```typescript //将role从龙2的节点上移除 drag...

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

82. 多点触控的使用(ActionScript-3D基础(AS3)-LayaAir3D之鼠标交互) [ 57%]

... touch.position.y; //根据移动的距离进行旋转 (owner as Sprite3D).transform.rotate(new Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ _text.text = "触控点为2"; isTwoTouch = true; //获取两个触碰点 var touch:Touch = _scene.input.getTouch(0)...

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

83. 多点触控的使用(JavaScript-3D基础(JS)-LayaAir3D之鼠标交互) [ 56%]

....y = this.touch.position.y; //根据移动的距离进行旋转 this.owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._scene.inp...

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

84. 多点触控的使用(TypeScript-3D基础(TS)-LayaAir3D之鼠标交互) [ 56%]

....y = this.touch.position.y; //根据移动的距离进行旋转 this.owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._scene.inp...

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

85. ShaderPass介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 56%]

...{ var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new MultiplePassOutlineMaterial(); //漫反射贴...

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

86. ShaderPass介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 55%]

...{ var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new MultiplePassOutlineMaterial(); //漫反射贴...

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

87. laya.maths.Vector3_API3.0 [ 55%]

...red normalize scale set setValue toArray toDefault vadd vsub writeTo Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multiply normalize scalarLength scalarLengthSquared scale subtract transformCoordinate transformQuat transformV3ToV3 transformV3ToV4 Constructors cons...

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

88. Uncaught TypeError: Cannot read property 'props' of undefined [ 55%]

...; //加载到场景 scene.addChild(camera); //移动摄像机位置 camera.transform.position=new Laya.Vector3(-8, 4, 15); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -8, -25, 0), true, false); })) } return Main; } ()); Main();   laya2.0的3d尝试,新人,看不懂这是...

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

89. laya.physics.PhysicsDebugDraw_API3.0 [ 54%]

...scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildr...

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

90. laya.map.TileAniSprite_API3.0 [ 53%]

...scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearAll clearTimer contains customRender destroy dest...

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