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

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

381. ios14新系统问题 [ 70%]

...ion not for current program”注释这里暂时解决 // if (WebGLContext._useProgram===program) // return false; gl.useProgram(program); WebGLContext._useProgram=program; return true; } cdsc • 2020-11-16 16:51 @151*****986:是需要新加这段代码么?我是用的1.X的版本 cdsc • 2020-1...

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

382. laya.events.Keyboard [ 70%]

...static] 与 C 键的键控代码值 (67) 关联的常数。Keyboard  CAPS_LOCK : int = 20[static] 与 Caps Lock 的键控代码值 (20) 关联的常数。Keyboard  COMMA : int = 188[static] 与 F15 的键控代码值 (188) 关联的常数。Keyboard  COMMAND : int = 15[static] 与 Mac 命令...

来源: laya_api 发布时间: 20170929

383. laya.events.Keyboard [ 70%]

...static] 与 C 键的键控代码值 (67) 关联的常数。Keyboard  CAPS_LOCK : int = 20[static] 与 Caps Lock 的键控代码值 (20) 关联的常数。Keyboard  COMMA : int = 188[static] 与 F15 的键控代码值 (188) 关联的常数。Keyboard  COMMAND : int = 15[static] 与 Mac 命令...

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

384. 发现bug,update大问题!!!!!!!!! 2.13版本 [ 70%]

...how() {         super.onShow()         this.character = this.view.m_character.displayObject         /** 给地面添加碰撞器*/         this.plane = this.view.m_plane.displayObject         let planecoll = this.plane.addComponent(Laya.BoxCollider)         let chacoll = this...

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

385. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 70%]

...Component ConfigurableConstraint Index Constructors constructor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor scriptPath CONFIG_MOTION_TYPE_FREE CONFIG_MOTION_TYPE_LIMITED CONFIG_MOTION_TYPE_LOCKED Accessors XMotion YMotion ZMotion anchor angularBounce angularDa...

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

386. laya.ui.RadioGroup [ 70%]

...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...

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

387. rigidBody.applyForce 物体不会移动 [ 70%]

...ght: Laya.DirectionLight; private character: Laya.Sprite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector3(0, 0, -0.2); private translateA: Laya.Vector3 = new Laya.Vector3(0.2, 0, 0); priva...

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

388. 关于gridSprite的疑问 [ 70%]

关于gridSprite的疑问 tiledMap中 取得maplayer后,在maplayer的 _childs中可以取得渲染的块数据:gridsprite.发现每个gridsprite的宽和高都是432,然后按照432的距离排列好所有的gridsprite. 第一个问题是,这个432是怎么来的,是引擎规定好的吗? ...

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

389. Camera.viewportToRay中origin与direction相等问题 [ 70%]

...: 主要目的就是做射线碰撞检测. onStageMouseDown(): void { this._rayPt.x = Laya.MouseManager.instance.mouseX; this._rayPt.y = Laya.MouseManager.instance.mouseY; GameManager.instance.mainCamera.viewportPointToRay(this._rayPt, this._ray); let scene = this.owner.scene as Laya.Scene3D; scene....

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

390. 限制模型旋转角度 [ 70%]

...到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 Laya_Aaron 赞同来自: 你这个问题也是让我很不解。。你说的这个限制角度,我纠结了几天也不知道你是什么意思。。。要什么效果, 会操作旋转,然后做一些限制判定,这属...

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