• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,873 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0099 秒)

1611. var m:int = int.MAX_VALUE [ 52%]

...要用Math或parseInt取下整, int.MAX_VALUE也是同理,建议你用Number.MAX_VALUE替代,如果需要取整,就用Math来取整即可! 2017-06-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 fzhgren 相关问题 Laya2.0...

来源: Laya_社区 发布时间: 20170623

1612. laya.events.Event [ 52%]

...于活动状态 (true) 还是非活动状态 (false)。 Event  stageX : Number[read-only] 鼠标在 Stage 上的 X 轴坐标Event  stageY : Number[read-only] 鼠标在 Stage 上的 Y 轴坐标Event  target : Sprite 事件目标触发对象。Event  touches : Array[read-only] 触摸点列表...

来源: laya_api 发布时间: 20170929

1613. laya.d3.core.particleshuriken.module.VelocityOverLifetime_API3.0 [ 52%]

...rticleShuriKen/module/VelocityOverLifetime.ts:12 是否启用 space space: number = 0 Defined in laya/d3/core/particleShuriKen/module/VelocityOverLifetime.ts:14 速度空间,0为local,1为world。 Accessors velocity get velocity(): GradientVelocity Defined in laya/d3/core/particleShuriKen/module/Vel...

来源: Laya3.0_api 发布时间: 20231115

1614. 发布之后报错,跨域问题 [ 52%]

...le:///Users/dongxiang/Documents/saolei/release/layaweb/v1.0.0/comp/classic_numbers_8.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. 2018-03-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

来源: Laya_社区 发布时间: 20180315

1615. 2D光遮挡器与阴影 · LayaAir3.4 · 引擎文档 · LAYABOX [ 52%]

...e = true; } // 生成一个矩形 private generateRectVerticesAndUV(width: number, height: number): Laya.Mesh2D { const vertices = new Float32Array(4 * 5); const indices = new Uint16Array(2 * 3); let index = 0; vertices[index++] = 0; vertices[index++] = 0; vertices[index++] = 0; vertices[index++] = ...

来源: Laya3.0_文档 发布时间: 20251010

1616. 网络和格式-XML [ 52%]

...de:any = xml.firstChild; var nodes:Array = rootNode.childNodes; for (var i:number = 0; i item aitem bsomethis..."; var xmlValue:String = "item aitem bsomethings..."; proessXML(xmlValueContainsError); trace("\n"); proessXML(xmlValue); } // 使用xml private function proessXML(source:String):void { tr...

来源: Laya_示例 发布时间: 20260303

1617. laya.d3.core.material.GlitterMaterial [ 52%]

...aTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEquation : int混合方程。BaseMaterial blendEquationAlpha ...

来源: laya_api 发布时间: 20170929

1618. /libs/layaeditor.d.ts' severity: '错误' message: '类型“typeof display”上不存在属性“GraphicAnimation” [ 52%]

...错误,xxx/xxx/chitianshishoux.atlas TextInput 的 type 属性设置为 number 的时候 maxChars 字数限制无效 问题状态 最新活动: 2019-11-15 17:41 浏览: 611 关注: 2 人

来源: Laya_社区 发布时间: 20191114

1619. laya.ani.bone.canvasmesh.MeshData_API3.0 [ 52%]

...orm uvs vertices Methods getBounds Properties canvasPadding canvasPadding: number = 1 Defined in laya/ani/bone/canvasmesh/MeshData.ts:43 扩展像素,用来去除黑边 indexes indexes: Uint16Array = new Uint16Array([0, 1, 3, 3, 1, 2]) Defined in laya/ani/bone/canvasmesh/MeshData.ts:28 顶点索引 ...

来源: Laya3.0_api 发布时间: 20231115

1620. 能否对适配方案进行修改 [ 51%]

...ath.round(desginHeight * scaleY);                 var minScale:Number= Math.min(scaleX, scaleY);                 _width=desginWidth/minScale*scaleX;                 _height=desginHeight/minScale*scaleY;                 scaleX = scaleY =minScale;    ...

来源: Laya_社区 发布时间: 20170222