大约有 1,200 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0046 秒)
Laya_社区(569) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(26)
...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
...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
...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
...模型材质。 #### 主要属性和方法详解: > 属性 `albedoColor:Vector4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` ...
来源: Laya2.0_文档 发布时间: 20210714
...这句: 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
...体旋转。有相关的方法可以解决吗? 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
...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
...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
...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
...只小神龙 赞同来自: 请管理员关闭, 自答一下吧,利用vector3 类中的方法,transformQuat,给相机重新赋值 2018-04-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 bengtengzhu 小小小菜鸟,一只小神...
来源: Laya_社区 发布时间: 20180427