大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0102 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
...r: AudioBuffer, playbackRate: AudioParam, detune: AudioParam, loop: true, loopStart: 0, …} completeHandler:null context:AudioContext {baseLatency: 0.01, destination: AudioDestinationNode, currentTime: 3.7706666666666666, sampleRate: 48000, listener: AudioListener, …} gain:Ga...
来源: Laya_社区 发布时间: 20171006
...ameters size: number format: TextureFormat Default value mipmap: boolean = true Default value sRGB: boolean = false Returns TextureCube Properties destoryedImmediately destoryedImmediately: boolean Inherited from Resource.destoryedImmediately Defined in laya/resource/Resource.ts:104 是否在引用...
来源: Laya3.0_api 发布时间: 20231102
...果发现子纹理被替换成一个动画序列,animationKey会被设为true 即animationKey为true,就使用TileAniSprite来做显示,把动画序列根据时间画到TileAniSprite上 Public Properties PropertyDefined By animationTotalTime : Number = 0 动画播放的总时间 TileTexSet ...
来源: laya_api 发布时间: 20170929
...提:把所有可能与3D物体重叠的UI元素的 mouseEnable 设置为 true ,接收鼠标点击 onAwake() { this.isClick = false; //对舞台stage添加点击事件(这里由于有scene的缘故,点击空白处返回的对象是scene) Laya.stage.on(Laya.Event.CLICK,this,function(e) { if(...
来源: Laya_社区 发布时间: 20210122
...数来控制是否关闭其他场景 是否关闭其他场景,默认为true(可选),【注意】被关闭的场景,如果没有设置autoDestroyAtRemoved=true,则资源可能不能被回收,需要自己手动回收
来源: Laya_社区 发布时间: 20190510
...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 Readonly settings settings: ParticleSetting Defined in laya/particle/Particle...
来源: Laya3.0_api 发布时间: 20231115
...Resource.lock Defined in laya/resource/Resource.ts:95 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:97 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource....
来源: Laya3.0_api 发布时间: 20231102
...r event = document.createEvent(specialEvents[type] || 'Events'), bubbles = true if (props) for (var name in props) (name == 'bubbles') ? (bubbles = !!props[name]) : (event[name] = props[name]) event.initEvent(type, bubbles, true) // 这行就是那个报错的那行 如何解决呢 ...
来源: Laya_社区 发布时间: 20170301
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...
来源: Laya3.0_api 发布时间: 20231115
...地板可以接受阴影 grid.getChildAt(0).meshRenderer.receiveShadow = true; //获取一个静态网格猴子 var staticLayaMonkey = this.scene.addChild(new Laya.MeshSprite3D(Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); //省略调整猴...
来源: Laya2.0_文档 发布时间: 20210715