大约有 151 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0039 秒)
Laya_社区(52) Laya3.0_api(40) Laya2.0_api(16) Laya3.0_文档(12) Laya2.0_文档(9) Laya_示例(8) Laya2.0_示例(8) laya_api(6)
...ureCmd 填充贴图 Hierarchy FillTextureCmd Index Properties color height offset percent texture type width x y ID Methods getBoundPoints recover Properties color color: number = 4294967295 Defined in laya/display/cmd/FillTextureCmd.ts:50 (可选)绘图颜色 height height: number Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...blic Properties Show Inherited Public Properties PropertyDefined By localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape needsCustomCollisionCallback : Boolean = falseColliderShape type : int[read-only] 获取...
来源: Laya2.0_api 发布时间: 20190513
...elParent ); _putChild: function (parentName, path, col, row, cellSize, offset, scale) { var root = this.getChildByName(parentName); var cell = uiUtils.createSprite(path); root.addChild(cell); var offsetX = 0; var offsetY = 0; if (offset != null) { ...
来源: Laya_社区 发布时间: 20170410
...alcOriginalBoudingBoxAndSphere():voidTerrainLeaf calcSkirtVertextBuffer(offsetChunkX:int, offsetChunkZ:int, beginX:int, beginZ:int, girdSize:int, vertextBuffer:Float32Array, offset:int, strideSize:int, terrainHeightData:Float32Array, heighDataWidth:int, heightDataHeight:int):voidTerrainLeaf ca...
来源: Laya2.0_api 发布时间: 20190513
...GL; var SPACING = 100; var INPUT_WIDTH = 300; var INPUT_HEIGHT = 50; var Y_OFFSET = 50; var skins; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SH...
来源: Laya_示例 发布时间: 20240930
...发更高效。let SPACING = 100, INPUT_WIDTH = 300, INPUT_HEIGHT = 50, Y_OFFSET = 50, skins; class UI_Input { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600,...
来源: Laya2.0_示例 发布时间: 20240930
... * 震动屏幕 * @param callBack * @param times * @param offset * @param speed * */ public function stageShake(callBack:Function = null, times:uint = 2, offset:uint = 12, speed:uint = 32):void { if(_isShake) return; _isShake = true; ...
来源: Laya_社区 发布时间: 20170823
...ndbeests { constructor() { this.scale = 2.5; this.pos = [500, 400]; this.m_offset = [0, -80 * this.scale]; this.pivot = [0, 8 * this.scale]; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage...
来源: Laya2.0_示例 发布时间: 20240930
...8Array 对象并返回此对象。 Byte writeArrayBuffer(arraybuffer:*, offset:uint = 0, length:uint = 0):void 将指定 arraybuffer 对象中的以 offset 为起始偏移量, length 为长度的字节序列写入字节流。 如果省略 length 参数,则使用默认长度 0,该方法将...
来源: Laya2.0_api 发布时间: 20190513
...PerVertex * 4; for (var i:int = 0; i < 4; i++) { var j:int, offset:int; for (j = 0, offset = 4; j < 3; j++) _vertices[startIndex + i * _floatCountPerVertex + offset + j] = particleData.position[j]; ......... 我的问题是,_vertices里的数据是在哪里...
来源: Laya_社区 发布时间: 20190416