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

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

61. 关于适配有点疑惑 [ 72%]

...种适配模式,有一些困惑   我分别用noscale, fixedwidth, fixedheight进行试验, 代码如下:var rect; (function() { Laya.init(550, 400); // Laya.stage.scaleMode = Stage.SCALE_SHOWALL; // Laya.stage.scaleMode = "noscale"; // Laya.stage.scaleMode = "fixedwidth"; Laya.stage.scaleMod...

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

62. laya.device.media.HtmlVideo_API3.0 [ 72%]

...ely lock name url uuid video DEBUG Accessors cpuMemory destroyed gpuMemory height id obsolute referenceCount width cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getVideo hasListener isCreateFromURL off offAll offAll...

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

63. laya.resource.Texture [ 71%]

...e  destroyed : Boolean[read-only] 获取是否已经销毁。 Texture  height : Number 实际高度。Texture  offsetX : Number = 0沿 X 轴偏移量。Texture  offsetY : Number = 0沿 Y 轴偏移量。Texture  sourceHeight : Number = 0原始高度(包括被裁剪的透明区域)。Tex...

来源: Laya2.0_api 发布时间: 20190513

64. laya.resource.Texture [ 70%]

...canvas 。Texture  DEF_UV : Array[static] 默认 UV 信息。Texture  height : Number 实际高度。Texture  INV_UV : Array[static] 反转 UV 信息。Texture  isLinearSampling : Boolean 获取当前纹理是否启用了线性采样。 Texture  loaded : Boolean[read-only] 表示是否加...

来源: laya_api 发布时间: 20170929

65. Config3D_API3.0 [ 70%]

...使用BVH裁剪 Methods Static setResolution setResolution(width: number, height: number): void Defined in Config3D.ts:59 设置分辨率大小(并不是实际渲染分辨率) Parameters width: number height: number Returns void Globals "Config3D" Config3D BVH_Min_Build_nums BVH_limit_size BVH_m...

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

66. Laya3D [ 70%]

...celLoadByUrl(url:String):void[static] private Laya3D  init(width:Number, height:Number, config:Config3D = null, compolete:Handler = null):void[static] 初始化Laya3D相关设置。 Laya3DPublic Constants ConstantDefined By  ANIMATIONCLIP : String = ANIMATIONCLIP[static] AnimationClip资源。L...

来源: Laya2.0_api 发布时间: 20190513

67. laya.resource.Texture_API3.0 [ 70%]

...d _sizeGrid _stateNum destroyedImmediately lock name offsetX offsetY sourceHeight sourceWidth url uuid DEBUG Accessors bitmap cpuMemory destroyed gpuMemory height id obsolute referenceCount uv valid width cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCr...

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

68. laya.ui.AutoBitmap [ 69%]

...w Inherited Public Properties PropertyDefined By cmds : ArrayGraphics  height : Number 表示显示对象的高度,以像素为单位。 AutoBitmap  sizeGrid : Array 当前实例的有效缩放网格数据。 如果设置为null,则在应用任何缩放转换时,将正常缩放整个显示...

来源: Laya2.0_api 发布时间: 20190513

69. 位图切片组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

...割每个切片的宽度 ClipWidth、竖向分割每个切片的高度 ClipHeight,从左向右,从上到下,分割组合为一个切片动画。Clip 的脚本接口参考Clip API。 一、通过LayaAir IDE创建Clip组件 1.1 创建Clip 如图1-1所示,可以在层级窗口中右键进行创...

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

70. laya.ui.AutoBitmap [ 69%]

...w Inherited Public Properties PropertyDefined By cmds : ArrayGraphics  height : Number 表示显示对象的高度,以像素为单位。 AutoBitmap  sizeGrid : Array 当前实例的有效缩放网格数据。 如果设置为null,则在应用任何缩放转换时,将正常缩放整个显示...

来源: laya_api 发布时间: 20170929