大约有 962 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0073 秒)
Laya3.0_api(668) Laya_社区(264) Laya3.0_文档(9) Laya2.0_api(6) laya_api(5) Laya_示例(5) Laya2.0_示例(3) Laya2.0_文档(2)
...载到自己的项目中或者服务器中。 下面是主类的逻辑: class LayaUISample { constructor() { //初始化引擎 Laya.init(0,0); var Hls:any = Laya.Browser.window.Hls;//获取对Hls的引用。 var plyr:any = Laya.Browser.window.plyr;//获取对plyr的引用 //获取video对象,就...
来源: Laya3.0_文档 发布时间: 20251010
...ernals Only exported Menu Globals "laya/physics/joint/WeldJoint" WeldJoint Class WeldJoint 焊接关节:焊接关节的用途是使两个物体不能相对运动,受到关节的限制,两个刚体的相对位置和角度都保持不变,看上去像一个整体 Hierarchy JointBase WeldJoint I...
来源: Laya3.0_api 发布时间: 20231115
...19 20:44 浏览: 733 关注: 2 人 sleepfish • 2017-06-20 09:31 同一个class对象,生成两个实例,mid是挂在实例上的。只要对两个对象任意一个上的方法设置$_TID,另外一个也会有。因为方法是原型链上的公用的对象。两外一个对象的mid就没...
来源: Laya_社区 发布时间: 20170619
...ed Externals Only exported Menu Globals "laya/d3/math/Matrix3x3" Matrix3x3 Class Matrix3x3 Matrix3x3 类用于创建3x3矩阵。 Hierarchy Matrix3x3 Implements IClone Index Constructors constructor Properties elements DEFAULT Methods clone cloneTo determinant identity invert rotate scale translate t...
来源: Laya3.0_api 发布时间: 20231102
...在ES6为true的情况下保持 Android 高性能,要用对 ES6(利用 class、let/const、箭头函数、Map/Set 等能触发优化的特性),避免 async/await、解构、展开运算符等在低端机解释执行很重的语法,同时减少对象分配和 GC 压力。 2025-09-03 0 1 ...
来源: Laya_社区 发布时间: 20250903
...nals Only exported Menu Globals "laya/physics/joint/MouseJoint" MouseJoint Class MouseJoint 鼠标关节:鼠标关节用于通过鼠标来操控物体。它试图将物体拖向当前鼠标光标的位置。而在旋转方面就没有限制。 Hierarchy JointBase MouseJoint Index Constructors cons...
来源: Laya3.0_api 发布时间: 20231115
...是否需要关注? Demo代码(已测试有效): // 程序入口 class GameMain { constructor() { Laya.init(640,1100, Laya.WebGL); //设置适配模式 Laya.stage.scaleMode = "showall"; //设置剧中对齐 Laya.stage....
来源: Laya_社区 发布时间: 20170105
...ernals Only exported Menu Globals "laya/physics/ColliderBase" ColliderBase Class ColliderBase 碰撞体基类 Hierarchy Component ColliderBase BoxCollider ChainCollider CircleCollider EdgeCollider PolygonCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBo...
来源: Laya3.0_api 发布时间: 20231115
...bals "laya/d3/physicsCannon/CannonPhysicsComponent" CannonPhysicsComponent Class CannonPhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Component CannonPhysicsComponent CannonPhysicsTriggerComponent Index Constructors constructor Properties _extra _singleton canSca...
来源: Laya3.0_api 发布时间: 20231102
射线检测报错,outHitInfo.sprite3D=null; 代码: class SceneScript extends Laya.Script{ private ray : Laya.Ray; private hit: Laya.RaycastHit; private phasorSprite3D:Laya.PhasorSpriter3D; private camera : Laya.Camera; private scene: Laya.Scene; public _load(owner : any):void{ this.scene ...
来源: Laya_社区 发布时间: 20181020