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

大约有 637 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0043 秒)

261. laya.d3.math.Plane_API3.0 [ 65%]

...aneBy3P createPlaneBy3P(point0: Vector3, point1: Vector3, point2: Vector3, out: Plane): void Defined in laya/d3/math/Plane.ts:56 通过三个点创建一个平面。 Parameters point0: Vector3 第零个点 point1: Vector3 第一个点 point2: Vector3 第二个点 out: Plane Returns void Globals "lay...

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

262. request failed status:0 [ 65%]

... url" FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header 第一次用,Failed to load resource: net::ERR_F...

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

263. 在微信分享成功的回调函数里,Laya播放音效失败。 [ 65%]

...MOVE); Laya.stage.off(Laya.Event.MOUSE_UP) Laya.stage.off(Laya.Event.MOUSE_OUT);  // 鼠标按下事件 Laya.stage.on(Laya.Event.MOUSE_DOWN, this.snakeSelf, this.snakeSelf.onMouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this.snakeSelf, this.snakeSelf.onMouseUp); Laya.stage.on(Laya.Event.MOUSE_OUT,...

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

264. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 65%]

...另外的方法 Returns PhysicsSimulation getcurrentForce getcurrentForce(out: Vector3): void Defined in laya/d3/physics/constraints/ConstraintComponent.ts:296 获得当前力 Parameters out: Vector3 Returns void getcurrentTorque getcurrentTorque(out: Vector3): void Defined in laya/d3/physics/constr...

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

265. [LayaAir3]调用renderTexture.getDataAsync且同时勾选camera的hdr或msaa,webgl必报错 [ 65%]

...ra; let renderTexture:Laya.RenderTexture = camera._getRenderTexture(); let out:Uint8Array = new Uint8Array(50 * 28 * 4); let pixels:Uint8Array = await renderTexture.getDataAsync(0, 0, 50, 28, out) as Uint8Array; let gl:WebGLRenderingContext | WebGL2RenderingContext = Laya.WebGLEngine.instance.gl; le...

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

266. laya.physics.js:38 Uncaught Error [ 65%]

...imationClip version. 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds Uncaught TypeError: Cannot read property 'props' of undefined LayaAirIDE2.2 - Laya3D init error ,must support webGL spine动画转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of rang...

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

267. 类似抠图、挖空效果的实现 [ 64%]

...//设置叠加模式             circle.blendMode = "destination-out";             box.addChild(circle);                                      var area:HitArea = new HitArea();             area.hit.drawRect(0, 0, 500, 500, "#ff0000");        ...

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

268. 鼠标交互-双指缩放(多点触控) [ 64%]

... Laya.stage.on(Event.MOUSE_UP, this, onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, onMouseUp); } function createSprite() { sp = new Sprite(); var w = 300, h = 300; sp.graphics.drawRect(0, 0, w, h, "#FF7F50"); sp.size(w, h); sp.pivot(w / 2, h / 2); sp.pos(Laya.stage.width / 2, Laya.stage.height / ...

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

269. laya.d3.physics.constraints.FixedConstraint_API3.0 [ 64%]

...另外的方法 Returns PhysicsSimulation getcurrentForce getcurrentForce(out: Vector3): void Inherited from ConstraintComponent.getcurrentForce Defined in laya/d3/physics/constraints/ConstraintComponent.ts:296 获得当前力 Parameters out: Vector3 Returns void getcurrentTorque getcurrentTorque(ou...

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

270. 鼠标交互-双指缩放(多点触控) [ 64%]

....stage.on(Event.MOUSE_UP, this, this.onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, this.onMouseUp); } createSprite() { const Sprite = Laya.Sprite, Event = Laya.Event; let w = 300, h = 300; this.sp = new Sprite(); Laya.stage.addChild(this.sp); this.sp.graphics.drawRect(0, 0, w, h, "#FF7F50"); this...

来源: Laya2.0_示例 发布时间: 20251218