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

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

621. laya.d3.renderobjs.nativeobj.NativeRenderContext3DOBJ_API3.0 [ 72%]

...Parameters sceneShaderData: ShaderData Returns void scissor get scissor(): Vector4 set scissor(scissor: Vector4): void Defined in laya/d3/RenderObjs/NativeOBJ/NativeRenderContext3DOBJ.ts:72 Returns Vector4 Defined in laya/d3/RenderObjs/NativeOBJ/NativeRenderContext3DOBJ.ts:67 Parameters scissor: Vec...

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

622. localRotationEulerY旋转位置错误 [ 72%]

...0)) as Laya.Camera;         camera.transform.translate(new Laya.Vector3(0, 6, 9.5));         camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false);          //方向光         var directionLight = new Laya.DirectionLight();         ...

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

623. DirectionLight介绍(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 72%]

...ight()) as DirectionLight; //方向光的颜色 directionLight.color = new Vector3(1, 1, 1); //设置平行光的方向 var mat:Matrix4x4 = directionLight.transform.worldMatrix; mat.setForward(new Vector3(-1.0, -1.0, -1.0)); directionLight.transform.worldMatrix=mat; ``` ​ **setForward** 平行光...

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

624. BlinnPhong材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 72%]

...模型材质。 #### 主要属性和方法详解: > 属性 `albedoColor:Vector4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` ...

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

625. 如何通过四元数旋转 [ 72%]

...这句: GetComponent<Rigidbody>().AddForce ( Quaternion.Euler (new Vector3(transform.rotation.eulerAngles.x,transform.rotation.eulerAngles.y,transform.rotation.eulerAngles.z)) *new Vector3(25f*length,0,0), ForceMode.VelocityChange); 大概的须求是2d场景,旋转鼠标,炮台也跟着...

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

626. 摄像机旋转问题 [ 72%]

...体旋转。有相关的方法可以解决吗?   private var _rotateC:Vector3 = new Vector3(0, 0.001, 0);         private function startRound():void         {             Laya.timer.frameLoop(1, this, function():void{                 camare.transform.rotate(_rotat...

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

627. 脚本组件的使用(JavaScript-2D进阶篇(JS)-扩展模块) [ 71%]

...ol,Option,editOption,Check,Color,ColorArray,Node,Nodes,Prefab,SizeGrid,Vec,Vector,Ease | | accept | String的关联属性,accept:res 为接收资源地址 | | acceptTypes | Node和accept的关联属性, 接收的类型,比如和节点使用RevoluteJoint,PrismaticJoint,RigidBody;与accept:res...

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

628. 脚本化(JavaScript-IDE篇(JS)-脚本使用) [ 71%]

...ol,Option,editOption,Check,Color,ColorArray,Node,Nodes,Prefab,SizeGrid,Vec,Vector,Ease | | accept | String的关联属性,accept:res 为接收资源地址 | | acceptTypes | Node和accept的关联属性, 接收的类型,比如和节点使用RevoluteJoint,PrismaticJoint,RigidBody;与accept:res...

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

629. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 71%]

...x Constructors constructor Properties _extra _isScene _scene _url name TEMPVECTOR3 defaultTextureHDRDecodeValues Accessors active activeInHierarchy boundsMax boundsMin boxProjection components destroyed displayedInStage hideFlags id importance intensity is3D layer numChildren parent probePosition re...

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

630. 四元数与欧拉角乘积公式 [ 71%]

...只小神龙 赞同来自: 请管理员关闭, 自答一下吧,利用vector3 类中的方法,transformQuat,给相机重新赋值 2018-04-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 bengtengzhu 小小小菜鸟,一只小神...

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