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

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

661. LookAt又出bug了,官方赶紧看看是不是代码合漏了 [ 71%]

...tChildAt(0).getChildByName("B").transform.position,new Laya.Vector3(0,1,0),false,false)  指向错误   下面两句修正方向 Laya.stage.getChildAt(0).getChildByName("A").transform.rotation.invert(Laya.stage.getChildAt(0).getChildByName("A").transform.rotation) Laya.stage.getChildAt(0).getChild...

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

662. laya.d3.core.light.LightSprite [ 71%]

...Node  color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node  diffuseColor : Vector3 获取灯光的漫反射颜色。 LightSprite displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Nod...

来源: Laya2.0_api 发布时间: 20190513

663. laya.map.MapLayer_API3.0 [ 71%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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

664. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 71%]

...向 this.layaMonkey.transform.lookAt(this._tarPosition, this._upVector3, false); //因为资源规格,这里需要旋转180度 this.layaMonkey.transform.rotate(this._rotation2, false, false); //调整位置 Tween.to(this._finalPosition, { x: this._position.x, y: this._position.y, z: this._position...

来源: Laya3.0_文档 发布时间: 20230303

665. 如何判断一个3d模型是否在摄像机视野内 [ 71%]

...U01 : MonoBehaviour   {          private bool isRenderer = false;       private Renderer renderers;          void Awake ()       {           renderers = transform.GetComponent<Renderer> ();       }          void Update ()  ...

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

666. laya.display.Input_API3.0 [ 71%]

...ype declaration (): void Returns void _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _parseEscapeChars _parseEscapeChars: boolean Inherited from Text._parseEscapeChars Defined in laya/display/Text.ts:202 是否将字符串中的\n,\t...

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

667. 加载模型后如何取得在Unity的Transform.Rotation属性 [ 71%]

...我利用下式旋转后,         this.needle.transform.rotate(vect,false,false); 我可以看到模型transform.rotation值的变化,         console.log(this.needle.transform.rotation); 但是,我查看         console.log(this.needle.transform.rotationEuler); 却是却是 undefi...

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

668. Laya2 FlashBuilder编译配置已经不同,请使用这个! [ 71%]

...用了新的编译命令,请使用 "${project_loc}\asconfig.json;iflash=false;chromerun=true;quickcompile=true;out=.laya/temp.js;subpath=" 代替官方教程中的配置!   配置中的true和false大家酌情修改。   ------------------------------ 发现这个只是一个步奏,后面还...

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

669. list 中的scrollbar [ 71%]

...ue;         this._lastOffset=0;         this._checkElastic=false;         this._lastPoint || (this._lastPoint=new Point());         this._lastPoint.setTo(Laya.stage.mouseX,Laya.stage.mouseY);         Laya.timer.clear(this,this.tweenMove);         Tw...

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

670. laya.device.motion.RotationInfo [ 71%]

...otion_data_explained。 需要注意的是,IOS环境下,该值始终为false。即使如此,你依旧可以从alpha中取得正确的值。 RotationInfo  alpha : Number Z轴旋转角度,其值范围从0至360。 若absolute为true或者在IOS中,alpha值是从北方到当前设备方向...

来源: laya_api 发布时间: 20170929