大约有 1,720 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0056 秒)
Laya_社区(1002) Laya3.0_api(243) Laya2.0_示例(91) Laya_示例(90) Laya2.0_文档(89) Laya2.0_api(82) laya_api(75) Laya3.0_文档(48)
...ransform.pivot.x + 0, cube.transform.pivot.y - height/2, cube.transform.pivot.z - width/2); // 旋转 cube.transform.rotate(new Vector3(Math.PI/2*3,0,0)); var temp:Number = width; w...
来源: Laya_社区 发布时间: 20190427
....png)(图5) ```typescript var raidius:int = Math.random() * 0.2 + 0.2; var height:int = Math.random() * 0.5 + 0.8; //创建胶囊MeshSprite3D var capsule:MeshSprite3D = scene.addChild(new MeshSprite3D(PrimitiveMesh.createCapsule(raidius, height))) as MeshSprite3D; //创建刚体碰撞器 var rigidBo...
来源: Laya2.0_文档 发布时间: 20210714
...s ImageData { public data: Uint8ClampedArray; public width: number; public height: number; public constructor(width: number, height: number) { this.width = width; this.height = height; this.data = new Uint8ClampedArray(width * height * 4); } } window.ImageData = ImageData; // 报错的话改成windo...
来源: Laya_社区 发布时间: 20181122
...opePartTexture; ropePart.pos(48*vw,10*vh); ropePart.width = 4*vw; ropePart.height = 10*vh; let boxCollider = new laya.physics.BoxCollider(); boxCollider.width = ropePart.width; boxCollider.height = ropePart.height; ropePart.addComponentIntance(boxCollider); ropePart.addComponent(laya.physics.RigidBo...
来源: Laya_社区 发布时间: 20190424
...g)(图5) ```typescript var raidius:number = Math.random() * 0.2 + 0.2; var height:number = Math.random() * 0.5 + 0.8; //创建胶囊MeshSprite3D var capsule = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createCapsule(raidius, height))) as Laya.MeshSprite3D; //创建刚体碰撞器 var ri...
来源: Laya2.0_文档 发布时间: 20210714
...回收 Returns void clipRect clipRect(x: number, y: number, width: number, height: number): ClipRectCmd Inherited from Graphics.clipRect Defined in laya/display/Graphics.ts:304 设置剪裁区域,超出剪裁区域的坐标不显示。 Parameters x: number X 轴偏移量。 y: number Y 轴偏移...
来源: Laya3.0_api 发布时间: 20231115
... : String 字符。HTMLChar charNum : Number 字符数量。HTMLChar height : Number 高度。 HTMLChar isWord : Boolean 表示是否是正常单词(英文|.|数字)。HTMLChar style : CSSStyle CSS 样式。HTMLChar width : Number 宽度。 HTMLChar x : Number 此对象存储的 X ...
来源: laya_api 发布时间: 20170422
...数据 Hierarchy SkinSlotDisplayData Index Properties attachmentName bones height lengths name texture transform triangles type uvs verLen vertices weights width Methods createTexture destory Properties attachmentName attachmentName: string Defined in laya/ani/bone/SkinSlotDisplayData.ts:12 附件...
来源: Laya3.0_api 发布时间: 20231115
...unction init() { mSpacingX = Browser.width / colCount; mSpacingY = Browser.height / rowCount; Laya.init(Browser.width, Browser.height, WebGL); Stat.show(); mTexturePath = "../../res/skeleton/" + fileName + "/" + fileName + ".png"; mAniPath = "../../res/skeleton/" + fileName + "/" + fileName + ".sk";...
来源: Laya_示例 发布时间: 20251209
..."complete!!"); logo.x= Laya.stage.width/2-logo.width/2; logo.y= Laya.stage.height/2-logo.height/2; //logo.pos(Laya.stage.width/2-logo.width/2,Laya.stage.height/2-logo.height/2); })); 2018-10-10 0 1 分享 微博 QZONE 微信 hj 赞同来自: 你用这个方法的时候,鼠标在这停留一秒钟...
来源: Laya_社区 发布时间: 20181010