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

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

91. laya.maths.Matrix3x3_API3.0 [ 71%]

.../maths/Matrix3x3.ts:119 从4x4矩阵转换为一个3x3的矩阵(原则为upper-left,忽略第四行四列) Parameters sou: Matrix4x4 4x4源矩阵 out: Matrix3x3 3x3输出矩阵 Returns void Static createFromRotation createFromRotation(rad: number, out: Matrix3x3): void Defined in laya/maths/Matr...

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

92. 鼠标交互-键盘交互 [ 70%]

... Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.listenKeyboard(); this.createLogger(); Laya.timer.frameLoop(1, this, this.keyboardInspector); } listenKeyboard() { const Event = Laya.Event; // 用Set实现更好一些 keyDownList = []; // 添加键盘...

来源: Laya2.0_示例 发布时间: 20250223

93. 物理系统之FixedConstraint(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 70%]

# 物理系统之FixedConstraint ###### *version :2.7.0beta Update:2020-6-2* 固定约束将刚体的的运动限制为依赖于另一个刚体。 这有点像子父级关系,但是是通过物理而非变换(Transform)层次结构实现的。 固定约束非常适合你想能够轻松地分离的...

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

94. 提交一个 摄像机 天空盒的ltc文件bug [ 70%]

...过工具导出的json文件格式中,ltcdata采用的是 left right up down back front 等方向表示,而代码中加载的是 px py pz nx ny nz 等。 即 引擎代码 var urls=[URL.formatURL(ltcData.px,ltcBasePath),URL.formatURL(ltcData.nx,ltcBasePath),URL.formatURL(ltcData.py...

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

95. Laya.Quaternion.rotationLookAt 怀疑存在BUG [ 70%]

...on();     Laya.Quaternion.rotationLookAt(enimy2cameradir, Laya.Vector3._Up, outQua);      ca.rotation = outQua;    }    UNITY版本  void RoundCamera_U3D(Vector3 zhujue, Vector3 enimy, Transform ca)   {        var enimyPos = enimy;       enimyPos.y = 0;        var camer...

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

96. laya.d3.math.Matrix3x3_API3.0 [ 70%]

...3/math/Matrix3x3.ts:119 从4x4矩阵转换为一个3x3的矩阵(原则为upper-left,忽略第四行四列) Parameters sou: Matrix4x4 4x4源矩阵 out: Matrix3x3 3x3输出矩阵 Returns void Static createFromRotation createFromRotation(rad: number, out: Matrix3x3): void Defined in laya/d3/math/Ma...

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

97. 代码创建精灵监听不到事件? [ 70%]

...= {data: StorageRoom.map_storageData[0][0],tag:0}; box.on(Laya.Event.MOUSE_UP,this,this.onclick,[arr]);   var _proto = StorageUILayer.prototype;   _proto.onclick = function(params){ console.log("--------------------------------hhhhhhhhhhh- "); }   -------------------------------------------------...

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

98. laya.d3.physics.CharacterController [ 69%]

...rShape : ColliderShape 获取碰撞形状。 PhysicsComponent collisionGroup : int 获取所属碰撞组。 PhysicsComponent destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean[override] 获取是否启用组件。 PhysicsComponent  fallSpeed : Number 获取...

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

99. 我打印laya.stage时看到有个_width 但是我打印laya.stage._width 得到值和之前看到的不一样 [ 69%]

... 0 个回复被折叠 要回复问题请先登录 发起人 Life | Growing up 相关问题 使用getChildByName()无法得到子节点对象 在UI编辑器里可以看到位图字体,但是进入游戏后没有显示,怎么解决 请问Laya的坐标系是什么样子的 2D的 怎么没有看...

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

100. 关于UI与3D场景的问题 [ 69%]

...冒泡吗? down的时候就阻止呀 yzbgyc • 2018-05-31 14:20 我down up click 都阻止了。那都不行。。。 yzbgyc • 2018-05-31 14:25 我发现,虽然是按钮增加了一个点击事件,但是其实他像是增加一个鼠标抬起事件,这个抬起事件在按钮外面的话...

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