大约有 2,261 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0079 秒)
Laya_社区(1668) Laya3.0_api(144) Laya2.0_文档(127) Laya2.0_api(103) laya_api(77) Laya3.0_文档(52) Laya_示例(48) Laya2.0_示例(42)
...tion(){ /** * 地板类 */ function Floor(){ //背景贴图纹理 this.bgTexture = null; //背景 this.bg = null; Floor.__super.call(this); } //Floor 是一个显示对象 继承此 Sprite Laya.class(Floor, "Floor", laya.display.Sprite); var _proto = Floor.prototype; _proto.init = function(){ //如...
来源: Laya_社区 发布时间: 20160728
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Vector3" Vector3 Class Vector3 Vector3 类用于创建三维向量。 Hierarchy Vector3 Implements IClone Index Constructors ...
来源: Laya3.0_api 发布时间: 20231115
...oveTo,768,0,lineTo,768,448,closePath显示成了 绘制的代码为: for(x = 0 ; x < gridWidthPx ; x += gridPx) { paths.push(["moveTo" , x , 0]); paths.push(["lineTo" , x , gridHeightPx]); } paths.push(["closePath"]); gridShape.graphics.drawPath(0 , 0 , paths , {fillStyle:"#0000ff"});能麻烦...
来源: Laya_社区 发布时间: 20170901
...面是模型文件 private _factory: Laya.Templet; constructor(spine, x, y, speed) { this._factory = new Laya.Templet(); this._factory.loadAni(`../bin/res/spine_model/${spine}.sk`); this._factory.on(Laya.Event.COMPLETE, this, this.parseComplete, [x, y]); ...
来源: Laya_社区 发布时间: 20161108
API DocumentationAll Packages | All Classes | Index | Frames No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectSubclasses AnimationBase, PerfHUD, Scene, Stage, Text Sprite 是基本的显示图形的显示...
来源: Laya2.0_api 发布时间: 20190513
layabox的3d引擎,在导入u3d场景之后,坐标系还是跟u3d的一致吗? 如果不一致,对u3d的场景编辑来讲就失去意义了,相当于没有编辑器去操作 2017-07-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20170714
如何让3D物体在xy平面上做曲线运动时其z轴旋转角度也跟着变化? //计算与上一次X坐标的差值 let speedX = newPos.x - pathItem.item.transform.position.x; //计算与上一次Y坐标的差值 let speedY = newPos.y - pathItem.item.transform.position.y; let angle = 0; //...
来源: Laya_社区 发布时间: 20190524
Search Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Vector3" Vector3 Class Vector3 Vector3 类用于创建三维向量。 Hierarchy Vector3 Implements IClone Index Constructors con...
来源: Laya3.0_api 发布时间: 20231102
label位置设置 为什么我设置label的x值没有反应,一直在x=0这个位置,但是设置y值有变化。 2017-07-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自:...
来源: Laya_社区 发布时间: 20170709
API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientSizeProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientSizeInheritanceGradientSize ObjectImplements laya.d3.core.IClone GradientSize 类用于创建渐变尺寸。 Public Pr...
来源: laya_api 发布时间: 20170929