大约有 637 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0043 秒)
Laya_社区(472) Laya3.0_api(58) Laya2.0_api(33) laya_api(28) Laya2.0_文档(26) Laya3.0_文档(8) Laya2.0_示例(7) Laya_示例(5)
...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
... 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
...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
...另外的方法 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
...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
...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
...//设置叠加模式 circle.blendMode = "destination-out"; box.addChild(circle); var area:HitArea = new HitArea(); area.hit.drawRect(0, 0, 500, 500, "#ff0000"); ...
来源: Laya_社区 发布时间: 20161122
... 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
...另外的方法 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
....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