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

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

281. socket无法连接服务器 [ 71%]

...27.0.0.1"; export class NetSocket extends Laya.Socket{         private static _instance: NetSocket;         public static get instance(): NetSocket {             if (!NetSocket._instance) {                 NetSocket._instance = new NetSocket();                 NetSocket...

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

282. laya.display.Stage_API3.0 [ 71%]

...tion scaleMode scaleX scaleY scene screenMode scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRe...

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

283. UI-List [ 71%]

...Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Image(); this.addChild(this.img); } public setImg(src: string): void { this.i...

来源: Laya_示例 发布时间: 20241001

284. laya.d3.physics.shape.MeshColliderShape_API3.0 [ 71%]

...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

285. laya接入fairyGUI的时候资源加载方式? [ 71%]

...jhj * QQ:8510001 * 2019-11-25 */ export default class FguiResMgr { private static _instance: FguiResMgr; public static get instance(): FguiResMgr { if (!this._instance) this._instance = new FguiResMgr(); return this._instance; } /**加载优先级,越小越优先,最小为0 */ private priority: ...

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

286. laya.d3.core.material.PBRMaterial_API3.0 [ 70%]

...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

287. domParser在哪儿 [ 70%]

...@return js原生的XML对象。          */         public static var parseXMLFromString:Function = function(value:String):XmlDom {             var rst:*;             value = value.replace(/>\s+</g, '><');             __JS__("rst=(new D...

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

288. laya.d3.resource.models.SkyDome_API3.0 [ 70%]

...yElement._geometryElementOBj Defined in laya/d3/core/GeometryElement.ts:20 Static instance instance: SkyDome Defined in laya/d3/resource/models/SkyDome.ts:19 Accessors bufferState get bufferState(): BufferState set bufferState(value: BufferState): void Inherited from GeometryElement.bufferState Defi...

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

289. laya.d3.core.material.PBRStandardMaterial_API3.0 [ 70%]

...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

290. 请教LayaAir 2.2.0 改了哪些有关mask的代码 [ 70%]

...代码,奇迹发生了 ,问题似乎解决了,有待长期测试   static setBlendFunc(gl, sFactor, dFactor) { (sFactor!==WebGLContext._sFactor || dFactor!==WebGLContext._dFactor)&& (WebGLContext._sFactor=WebGLContext._srcAlpha=sFactor,WebGLContext._dFactor=WebGLContext._dstAlpha=dFac...

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