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

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

151. 想用js写一个什么也不继承的类,但每次实例化这个类的时候会报错,是不是这个类写得不对呀 [ 62%]

...);         console.log("执行测试构造函数"); } //注册类 Laya.class(Test,"Test",_super); //获取执行域 var _proto = Test.prototype; //_proto. return Test; })(); 2018-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

152. laya.physics.joint.GearJoint_API3.0 [ 61%]

...ernals Only exported Menu Globals "laya/physics/joint/GearJoint" GearJoint Class GearJoint 齿轮关节:用来模拟两个齿轮间的约束关系,齿轮旋转时,产生的动量有两种输出方式,一种是齿轮本身的角速度,另一种是齿轮表面的线速度 Hierarchy JointBase...

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

153. 看一下这是什么问题,运行报错 [ 61%]

...l1 = (function (_super) { function MPanel1() { MPanel1.super(this); } Laya.class(MPanel1, "MPanel1", _super) var _proto = MPanel1.prototype; return MPanel1; }(ui.Panel1UI));代码如上,报错如下   附件 : --> 2018-02-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

154. Cannot read property 'toDefault' of undefined报错是什么原因 [ 61%]

...ty 'toDefault' of undefined报错是什么原因 主要代码如下:Laya.class(MousePickingScene, "MousePickingScene", Laya.Scene); function MousePickingScene() { MousePickingScene.super(this); this.camera = new Laya.Camera(0,0.1,100); this.addChild(this.camera); this.camera.clearFlag = Laya.BaseC...

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

155. playSound和playMusic结束时候有异常抛出 [ 61%]

...是否需要关注? Demo代码(已测试有效):  // 程序入口 class GameMain {     constructor()     {         Laya.init(640,1100, Laya.WebGL);         //设置适配模式         Laya.stage.scaleMode = "showall";         //设置剧中对齐         Laya.stage....

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

156. laya.display.cmd.DrawPieCmd_API3.0 [ 61%]

...ernals Only exported Menu Globals "laya/display/cmd/DrawPieCmd" DrawPieCmd Class DrawPieCmd 绘制扇形 Hierarchy DrawPieCmd Index Properties fillColor lineColor lineWidth radius x y ID Accessors endAngle startAngle Methods getBoundPoints recover Properties fillColor fillColor: any Defined in laya/...

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

157. laya.physics.joint.PulleyJoint_API3.0 [ 61%]

...ls Only exported Menu Globals "laya/physics/joint/PulleyJoint" PulleyJoint Class PulleyJoint 滑轮关节:它将两个物体接地(ground)并彼此连接,当一个物体上升,另一个物体就会下降 Hierarchy JointBase PulleyJoint Index Constructors constructor Properties _extra _singleto...

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

158. laya.d3.component.volume.Volume_API3.0 [ 61%]

...ernals Only exported Menu Globals "laya/d3/component/Volume/Volume" Volume Class Volume Hierarchy Component Volume ReflectionProbe VolumetricGI StaticBatchVolume Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked boundsMax boundsMin destroyed en...

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

159. laya.d3.physics.shape.HeightfieldTerrainShape_API3.0 [ 60%]

...ls "laya/d3/physics/shape/HeightfieldTerrainShape" HeightfieldTerrainShape Class HeightfieldTerrainShape BoxColliderShape 类用于创建高度图地形形状碰撞器。 Hierarchy ColliderShape HeightfieldTerrainShape Implements IClone Index Constructors constructor Properties dataPtr initSize need...

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

160. laya.physics.joint.WeldJoint_API3.0 [ 60%]

...ernals Only exported Menu Globals "laya/physics/joint/WeldJoint" WeldJoint Class WeldJoint 焊接关节:焊接关节的用途是使两个物体不能相对运动,受到关节的限制,两个刚体的相对位置和角度都保持不变,看上去像一个整体 Hierarchy JointBase WeldJoint I...

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