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

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

201. laya.physics.joint.DistanceJoint [ 48%]

...jointClasspublic class DistanceJointInheritanceDistanceJoint JointBase Component Object 距离关节:两个物体上面各自有一点,两点之间的距离固定不变 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  collideConnected : B...

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

202. laya.d3.core.MeshSprite3D_API3.0 [ 48%]

...ETRICGI_PROBESTEPS WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer meshFilter meshRenderer numChildren parent scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstan...

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

203. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 48%]

...ETRICGI_PROBESTEPS WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer numChildren parent particleRenderer particleSystem scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addCompone...

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

204. 请问Laya如何使用第三方物理库 [ 48%]

...; public ignoreRotate: boolean = false; ...OnAwake里面创建CANNON.Body, OnEnable里面把CANNON.Body加入到CANNON.World, OnDisable则移除, onUpdate里面根据CANNONBody的信息更新(this.owner as Laya.MeshSprite).transfrom.(最好用插值,平滑点,四元数代码就拷贝Laya源码改改...

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

205. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 48%]

...ETRICGI_PROBESTEPS WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer meshFilter numChildren parent scene skinnedMeshRenderer timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponen...

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

206. laya.d3.core.trail.TrailSprite3D_API3.0 [ 48%]

...ETRICGI_PROBESTEPS WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer numChildren parent scene timer trailFilter trailRenderer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInst...

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

207. LayaBox加载TiledMap地图和注意事项 [ 48%]

...图        this.tMap.createMap("./map/desert.json", viewRect); } onEnable() {        console.log(Laya.TiledMap)    } onDisable() { }} [/code]   重点来了,我们切回到编辑模式,选中场景文件,选中脚本文件并拖拽至runtime属性中。 到了这一步,...

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

208. 请问 layaair2.0的js有没有api可以查询 例如Laya.Script [ 48%]

... export default class btn1 extends Laya.Script { constructor(){super();} onEnable(){} onClick(){ alert("id="+this.id); //这里有一个id,但是系统自动生成的,无法获知这个id代表哪个按钮被点(因为我有4个按钮都绑了这个js) alert("name="+this.name); //未定义...

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

209. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 48%]

...ETRICGI_PROBESTEPS WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer meshFilter numChildren parent scene simpleSkinnedMeshRenderer timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addCo...

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

210. (最新版ide和库已经测试)iOS环境浏览器使用mask黑屏 [ 48%]

...文件,之前在2.3.0ide版本中也是同样的问题,在GameControl onEnable中执行如下代码:private _sp = new Laya.Sprite(); private _testMask() { this._sp.graphics.clear(); this._sp.graphics.drawCircle(100, 100, 50, '#ffffff'); Laya.timer.once(3000, this, () => { this.img.mask = th...

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