大约有 1,262 项符合查询结果, 库内数据总量为 30,782 项。 (搜索耗时: 0.0047 秒)
Laya3.0_api(409) Laya_社区(375) Laya2.0_api(226) laya_api(168) Laya2.0_文档(49) Laya3.0_文档(25) Laya2.0_示例(7) Laya_示例(3)
...码如下 输出结果为 1 // 程序入口 class LayaSample{ private static aa:Child; private static bb:Child; constructor() { Laya.init(600,400); this.init(); } private init(){ LayaSample.aa = new Child(); LayaSample.aa.num("1"); LayaSample.bb = new Child(); LayaSample.bb.num("2"); setTimeout(f...
来源: Laya_社区 发布时间: 20180729
仅在Android微信小游戏下图片错乱 static preLoadPublicAssets(){ this.sAssetList = Loader.getRes("file_list.json") Laya.loader.load("res/ui/share@atlas0.png", Handler.create(this, this.onLoaded), null, Loader.IMAGE, 1, true, null, true) } static onLoaded(res){ console.log("public assets in...
来源: Laya_社区 发布时间: 20180609
...ource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE Defined in laya/d3/core/material/Material.ts:51 着色器变量,透明测试值。 Static DEBUG DEBUG: boolean = false Inherited from Resourc...
来源: Laya3.0_api 发布时间: 20231115
...国 已经确定了是引擎bug 只要修改下就好希望官方处理下 static _convertToLayaVec3(bVector, out, inverseX) { var bullet = Physics3D._bullet; out.x = inverseX ? -bullet.btVector3_x(bVector) : bullet.btVector3_x(bVector); out.y = bullet.btVector3_y(bVector); out.z = bullet.btVector3_...
来源: Laya_社区 发布时间: 20200330
...tomCollisionCallback Defined in laya/d3/physics/shape/ColliderShape.ts:115 Static SHAPEORIENTATION_UPX SHAPEORIENTATION_UPX: number = 0 Inherited from CompoundColliderShape.SHAPEORIENTATION_UPX Defined in laya/d3/physics/shape/ColliderShape.ts:14 形状方向_X轴正向 Static SHAPEORIENTATION_UPY S...
来源: Laya3.0_api 发布时间: 20231115
...d in laya/components/AnimatorControllerLayer2D.ts:55 是否开始时播放 Static BLENDINGMODE_ADDTIVE BLENDINGMODE_ADDTIVE: number = 1 Defined in laya/components/AnimatorControllerLayer2D.ts:12 混合模式_叠加。 Static BLENDINGMODE_OVERRIDE BLENDINGMODE_OVERRIDE: number = 0 Defined in laya/com...
来源: Laya3.0_api 发布时间: 20231115
...ported member 'particle'. libs/LayaAir.d.ts(26700,11): error TS2417: Class static side 'typeof RenderTarget2D' incorrectly extends base class static side 'typeof Texture'. Types of property 'create' are incompatible. Type '(w: number, h: number, surfaceFormat?: number, surfaceType?: number,...
来源: Laya_社区 发布时间: 20170721
...rValues 与 shader uniform。 ```javascript //绑定漫反射贴图 public static ALBEDOTEXTURE = Laya.Shader3D.propertyNameToID("u_AlbedoTexture"); //绑定描边颜色 public static OUTLINECOLOR = Laya.Shader3D.propertyNameToID("u_OutlineColor"); //绑定描边宽度 public static OUTLINEWIDTH = L...
来源: Laya2.0_文档 发布时间: 20210715
...: number Defined in laya/display/cmd/FillTextureCmd.ts:26 Y轴偏移量。 Static ID ID: string = "FillTexture" Defined in laya/display/cmd/FillTextureCmd.ts:13 Methods getBoundPoints getBoundPoints(sp?: { height?: number; width: number }): number[] Defined in laya/display/cmd/FillTextureCmd.ts:93 P...
来源: Laya3.0_api 发布时间: 20231115
...对象的属性值到此矩形对象中。 Rectangle create():Rectangle[static] 创建 Rectangle equals(rect:Rectangle):Boolean 检测传入的 Rectangle 对象的属性是否与当前 Rectangle 对象的属性 x、y、width、height 属性值都相等。 Rectangle intersection(rect:Rectang...
来源: Laya2.0_api 发布时间: 20190513