大约有 1,830 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0263 秒)
Laya_社区(1470) Laya3.0_api(102) Laya2.0_文档(77) Laya2.0_api(64) Laya2.0_示例(37) Laya_示例(36) Laya3.0_文档(35) laya_api(9)
...eturns number Inherited from Text.height Defined in laya/display/Sprite.ts:503 显示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。 可以通...
来源: Laya3.0_api 发布时间: 20231115
...otected _updateRotation(): void { if (Math.abs(this.yawPitchRoll.y) < 1.50) { Laya.Quaternion.createFromYawPitchRoll(this.yawPitchRoll.x, this.yawPitchRoll.y, this.yawPitchRoll.z, this.tempRotationZ); this.tempRotationZ.cloneTo(this.camera.transform.localRotation); this.camera.transform.localRota...
来源: Laya3.0_文档 发布时间: 20251010
...inux version 3.18.31-perf-g040a88f (builder@mi-server) (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Thu Nov 7 00:28:25 WIB 2019 *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'xiaomi/mido/mido:7.0/NRD90M/V11.0.2.0.NCFMIXM:user/release-keys' Revisi...
来源: Laya_社区 发布时间: 20191206
... set fogColor(value: Color): void Defined in laya/d3/core/scene/Scene3D.ts:508 雾化颜色。 Returns Color Defined in laya/d3/core/scene/Scene3D.ts:512 雾化颜色。 Parameters value: Color Returns void fogDensity get fogDensity(): number set fogDensity(value: number): void Defined in laya/d3/co...
来源: Laya3.0_api 发布时间: 20231115
...izeGrid _sizeGrid: Array<number> Defined in laya/resource/Texture.ts:50 九宫格 Optional _stateNum _stateNum: number Defined in laya/resource/Texture.ts:52 状态数量 destroyedImmediately destroyedImmediately: boolean Inherited from Resource.destroyedImmediately Defined in laya/resource/Re...
来源: Laya3.0_api 发布时间: 20231115
...ctors constructor new Byte(data?: any): Byte Defined in laya/utils/Byte.ts:50 创建一个 Byte 类的实例。 Parameters Default value data: any = null 用于指定初始化的元素数目,或者用于初始化的TypedArray对象、ArrayBuffer对象。如果为 null ,则预分配一定的内...
来源: Laya3.0_api 发布时间: 20231115
...IDE中为了直观表达,默认将物理引擎中的长度单位转换为50个渲染像素,开发者也可以在此处根据自己的需求进行调节。 是否开启2D物理绘制 如果给2D节点添加了物理属性(刚体、碰撞盒等),此时勾选该选项,添加了物理属性...
来源: Laya3.0_文档 发布时间: 20251014
...imationPlayerBase interval : int 播放间隔(单位:毫秒),默认为50毫秒,可以通过Config.animationInterval修改默认时间间隔。AnimationPlayerBase isPlaying : Boolean[read-only] 是否在播放中 AnimationPlayerBase loop : Boolean是否循环播放AnimationPlayerBase mask :...
来源: laya_api 发布时间: 20170422
...10000): class Test { private text:Laya.Text; constructor() { Laya.init(550,400,Laya.WebGL); Laya.Stat.show(); var textBox=new Laya.Sprite(); for(var i=0;i<10000;i++) { this.text=new Laya.Text(); this.text.text=(Math.random()*100).toFixed(0); this.text.color="#CCCCCC"; this.text.x=Math.random()*...
来源: Laya3.0_文档 发布时间: 20251010
...音量 * @param ratio 衰减比例 (0-1),例如0.5表示降低到50% * @param fadeDuration 渐变过渡时间(毫秒),默认立即生效 */ public attenuateBGM(ratio: number, fadeDuration: number = 0): void { if (!this.bgmChannel || ratio < 0 || r...
来源: Laya_社区 发布时间: 20250930