大约有 378 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0045 秒)
...jointClasspublic class DistanceJointInheritanceDistanceJoint JointBase Component Object 距离关节:两个物体上面各自有一点,两点之间的距离固定不变 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By collideConnected : B...
来源: Laya2.0_api 发布时间: 20190513
...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
...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
...; public ignoreRotate: boolean = false; ...OnAwake里面创建CANNON.Body, OnEnable里面把CANNON.Body加入到CANNON.World, OnDisable则移除, onUpdate里面根据CANNONBody的信息更新(this.owner as Laya.MeshSprite).transfrom.(最好用插值,平滑点,四元数代码就拷贝Laya源码改改...
来源: Laya_社区 发布时间: 20200217
...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
...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
...图 this.tMap.createMap("./map/desert.json", viewRect); } onEnable() { console.log(Laya.TiledMap) } onDisable() { }} [/code] 重点来了,我们切回到编辑模式,选中场景文件,选中脚本文件并拖拽至runtime属性中。 到了这一步,...
来源: Laya_社区 发布时间: 20190321
... 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
...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
...文件,之前在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