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

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

1531. 官方案例里摄像机绕物体旋转脚本的问题 [ 59%]

...ewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary&...

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

1532. Laya.stage.mouseX; Laya.stage.mouseY取到的坐标用来赋给画曲线方法的起点;在左顶点正常,越往右下角起点就越偏移了 [ 59%]

...在左顶点正常,越往右下角起点就越偏移了 // 程序入口 class GameMain { private ps: Laya.Sprite; a: number; b: number; path: Array<number> = ; constructor() { Laya.init(1600, 1400); Laya.stage.bgColor = "#000000"; this.ps = new Laya.Sprite(); Laya.stage.on(Laya.Event.MOUSE_D...

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

1533. laya.components.AnimatorController2D_API3.0 [ 59%]

...d Menu Globals "laya/components/AnimatorController2D" AnimatorController2D Class AnimatorController2D 2D动画控制器 Hierarchy Resource AnimatorController2D Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsol...

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

1534. 问题10600的复现方式 [ 59%]

问题10600的复现方式 package { import laya.webgl.WebGL; public class LateTest { public function LateTest() { Laya.init(100,100,WebGL); Laya.timer.callLater(this,onLater); Laya.timer.clearAll(this); } private function onLater():void{ trace("xxx"); } } } 2018-01-12 添加评论 免费帖 --> ...

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

1535. laya.physics.PolygonCollider_API3.0 [ 59%]

... Only exported Menu Globals "laya/physics/PolygonCollider" PolygonCollider Class PolygonCollider 2D多边形碰撞体,暂时不支持凹多边形,如果是凹多边形,先手动拆分为多个凸多边形 节点个数最多是b2_maxPolygonVertices,这数值默认是8,所以点的数量不...

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

1536. laya.d3.graphics.Vertex.VertexShurikenParticleMesh [ 59%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexShurikenParticleMeshProperties | Methods | Constants Packagelaya.d3.graphics.VertexClasspublic class VertexShurikenParticleMeshInheritanceVertexShurikenParticleMesh VertexShuriKenParticle Object VertexShurikenPart...

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

1537. laya.d3.physics.CharacterController [ 59%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames CharacterControllerProperties | Methods | Constants Packagelaya.d3.physicsClasspublic class CharacterControllerInheritanceCharacterController PhysicsComponent Component Object CharacterController 类用于创建角色...

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

1538. 高级应用-Laya3D与网页混合 [ 59%]

....Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Laya3DCombineHtml { constructor() { var div = Laya.Browser.window.document.createElement("div"); div.innerHTML = "此内容来源于HTML网页, 可直接在html代码中书写 - h1标签"; document.body.appendChild(div)...

来源: Laya_示例 发布时间: 20251209

1539. laya.d3.utils.Physics3DUtils [ 59%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Physics3DUtilsProperties | Methods | Constants Packagelaya.d3.utilsClasspublic class Physics3DUtilsInheritancePhysics3DUtils Object Physics 类用于简单物理检测。 Public Properties PropertyDefined By  gravity...

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

1540. 有类似Unity的RequireComponent特性么 [ 59%]

...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name Unity 导出的场景 Laya 中有闪烁的情况 IDE中js压缩工具,能不能用类似命令行,或者编译参数等等方式调用? Laya现在有没有什么热更新的方法或者类似热更新的...

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