大约有 558 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0066 秒)
Laya_社区(175) Laya2.0_示例(114) Laya2.0_api(91) Laya3.0_文档(87) laya_api(48) Laya_示例(24) Laya2.0_文档(16) Laya3.0_api(3)
...是我裁切后的多边形位置点数据): draw() { const pp = this.owner.getComponent(Laya.PolygonCollider).points; let points = this.pointS_to_pointA(pp) let owner: Laya.Sprite = this.owner as Laya.Sprite const ctx...
来源: Laya_社区 发布时间: 20200428
...kages | All Classes | Index | Frames No Frames MathUtils3DMethods | Constants Packagelaya.d3.mathClasspublic class MathUtils3DInheritanceMathUtils3D Object MathUtils 类用于创建数学工具。 Public Methods MethodDefined By MathUtils3D() 创建一个 MathUtils 实例。 MathUtils3D...
来源: laya_api 发布时间: 20170929
...kages | All Classes | Index | Frames No Frames MathUtils3DMethods | Constants Packagelaya.d3.mathClasspublic class MathUtils3DInheritanceMathUtils3D Object MathUtils 类用于创建数学工具。 Public Methods MethodDefined By MathUtils3D() 创建一个 MathUtils 实例。 MathUtils3D...
来源: Laya2.0_api 发布时间: 20190513
...eesText, directionIndicator, firstTime = true; class InputDevice_Compass { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(700, 1024, WebGL); Laya.stage.alignV = Stage....
来源: Laya2.0_示例 发布时间: 20250312
...); //加载资源。 })(); function onLoadComplete() { for (var i = 0; i ; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgCo...
来源: Laya_示例 发布时间: 20250312
...发更高效。let apePath = "res/apes/monkey2.png"; class Filters_Glow { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stag...
来源: Laya2.0_示例 发布时间: 20250312
...ses | Index | Frames No Frames StageProperties | Methods | Events | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问...
来源: Laya2.0_api 发布时间: 20190513
...umber>, faceArr: Array<number>, normalArr: Array<number>) { const verticeArr = new Array<number>(); for (let i = 0; i < vertArr.length; i += 3) { verticeArr.push(vertArr[i], vertArr[i + 1], vertArr[i + 2]); verticeArr.push(normalArr[i], normalArr[i + 1], normalArr[i + 2]); } ...
来源: Laya_社区 发布时间: 20180522
...&& typeof Atomics !== 'undefined') { const nil = new Int32Array(new SharedArrayBuffer(4)) // also filters out NaN, non-number types, including empty strings, but allows bigints const valid = ms ...
来源: Laya_社区 发布时间: 20201201
...:executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 420 20 JavaScriptCore JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, JSC::JSValue*) + 92 21 WebCor...
来源: Laya_社区 发布时间: 20180409