大约有 965 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0044 秒)
Laya_社区(486) Laya3.0_api(135) Laya2.0_文档(121) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(18)
...Quaternion=new Quaternion(); var out2:Quaternion=new Quaternion(); var dir:Vector3=new Vector3() ; Vector3.subtract(transform.position,sphere3D.transform.position,dir); Quaternion.rotationLookAt(dir,Vector3.Up,out); Quaternion.slerp(transform.rotation,out, Laya.timer.delta/1000,out1); transform.rota...
来源: Laya_社区 发布时间: 20180726
... KeyBoardManager.hasKeyDown(87) && kinematicSphere.transform.translate(new Vector3(0, 0, -0.2));//W KeyBoardManager.hasKeyDown(83) && kinematicSphere.transform.translate(new Vector3(0, 0, 0.2));//S KeyBoardManager.hasKeyDown(65) && kinematicSphere.transform.translate(new Vector3(-0.2, 0, 0));//A Key...
来源: Laya2.0_文档 发布时间: 20210715
...anager.hasKeyDown(87) && this.kinematicSphere.transform.translate(new Laya.Vector3(0, 0, -0.2));//W Laya.KeyBoardManager.hasKeyDown(83) && this.kinematicSphere.transform.translate(new Laya.Vector3(0, 0, 0.2));//S Laya.KeyBoardManager.hasKeyDown(65) && this.kinematicSphere.transform.translate(new Lay...
来源: Laya2.0_文档 发布时间: 20210715
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 4)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); var particleSprite3D = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/particle/ETF_Burning_Ground.lh"));class Particle_BurningGro...
来源: Laya_示例 发布时间: 20241117
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 4)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); var particleSprite3D = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/particle/ETF_Eternal_Light.lh"));class Particle_EternalLigh...
来源: Laya_示例 发布时间: 20241117
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Sprite3DLoad { cons...
来源: Laya_示例 发布时间: 20241117
...yaAir新建3D示例项目,在as开发模式下,运行报错 TypeError: Vector3 is not a constructor 运行环境 MacOs 10.13.3 2018-05-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 海 赞同来自: 最...
来源: Laya_社区 发布时间: 20180507
...anager.hasKeyDown(87) && this.kinematicSphere.transform.translate(new Laya.Vector3(0, 0, -0.2));//W Laya.KeyBoardManager.hasKeyDown(83) && this.kinematicSphere.transform.translate(new Laya.Vector3(0, 0, 0.2));//S Laya.KeyBoardManager.hasKeyDown(65) && this.kinematicSphere.transform.translate(new Lay...
来源: Laya2.0_文档 发布时间: 20210714
...rState; import Script = Laya.Script; import Vector2 = Laya.Vector2; import Vector3 = Laya.Vector3; import Vector4 = Laya.Vector4; import WebGLContext = Laya.WebGLContext; export class SceneScript extends Script { private _originPosition:Vector3 = new Vector3(0, -1, 1); private _phasorSpriter3D:Phaso...
来源: Laya_社区 发布时间: 20180201
...ect:*):void[override] SphereShape generatePositionAndDirection(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void[override] 用于生成粒子初始位置和方向。 SphereShapeProtected Methods MethodDefined By _getShapeBoundBox(boundBox:BoundBox):v...
来源: laya_api 发布时间: 20170929