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

大约有 536 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0084 秒)

441. laya.ui.HScrollBar_API3.0 [ 48%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in lay...

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

442. laya.display.Animation [ 48%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...

来源: laya_api 发布时间: 20170929

443. 精灵 · LayaAir3.0文档 · LAYABOX [ 48%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true。示例代码如下: let sprite = new Laya.Sprite(); // 添加到舞台 Laya.stage.addChild(sprite); sprite.autoSize = true; 3.4.4 缓存为静态图像 示例代码如下: let...

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

444. laya.ui.ColorPicker_API3.0 [ 48%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Defined in laya/ui/ColorPicker.ts:99 当颜色发生改变时...

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

445. laya.display.FrameAnimation [ 48%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...

来源: laya_api 发布时间: 20170929

446. 将字节数组转为图片 [ 47%]

...       var picPath:String = file.resolvePath("img.png").nativePath;//获取图片路径             //读取图片文件到字节数组             var readFile:File = new File(picPath);             var readByte:ByteArray = new ByteArray();             var re...

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

447. laya.display.Stage_API3.0 [ 47%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 canvasDegree canvasDegree: number = 0 Defined in laya/display/Stage.ts:126 画布的旋转角度。...

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

448. laya.ui.Clip_API3.0 [ 47%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

449. 请大家帮助优化一下这个抛物线的代码 [ 46%]

...s.ball.x = Laya.stage.width / 2; this.ball.y = Laya.stage.height / 2; // //获取鼠标位置 this.targetX = Laya.stage.mouseX; this.targetY = Laya.stage.mouseY; // //获得偏移 // let dx:number = this.targetX - this.ball.x; // let dy:number = this.targetY - this.ball.y; var ps = [{ x: 0, y: 200 }...

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

450. laya.display.Input_API3.0 [ 46%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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