大约有 368 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0044 秒)
...) this.on(Laya.Event.PROGRESS, this, this.onProgress) } onDestroy() { this.off(Laya.Event.PROGRESS, this, this.onProgress) } onProgress(val) { // 渲染界面效果 this.text.text += `\r\n${(val * 100).toFixed(2)}%` } } page2Runtime.jsexport default class page2 extends Laya.Scene { constructor() { s...
来源: Laya_社区 发布时间: 20181124
...mponents hasHideFlag hasListener isAncestorOf normalizedViewportPointToRay off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once recoverRenderContext3D removeAllLayers removeChild removeChildAt removeChildByName removeChildren removeCommandBuffer removeCommandBuffer...
来源: Laya3.0_api 发布时间: 20231115
...oyed detailAlbedoTexture detailNormalScale detailNormalTexture detailTilingOffset emissionColor emissionIntensity emissionTexture enableEmission enableVertexColor gpuMemory id materialRenderMode normalTexture normalTextureScale obsolute occlusionTexture occlusionTextureStrength parallaxTexture paral...
来源: Laya3.0_api 发布时间: 20231115
...htmapIndex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照贴图的缩放和偏移。 BaseRender material : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 BaseRender materials : Vector.<BaseMaterial> 获取...
来源: laya_api 发布时间: 20170929
...mponents hasHideFlag hasListener isAncestorOf normalizedViewportPointToRay off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once recoverRenderContext3D removeAllLayers removeChild removeChildAt removeChildByName removeChildren removeCommandBuffer removeCommandBuffer...
来源: Laya3.0_api 发布时间: 20231115
...oyed detailAlbedoTexture detailNormalScale detailNormalTexture detailTilingOffset emissionColor emissionIntensity emissionTexture enableEmission enableVertexColor gpuMemory id materialRenderMode metallic metallicGlossTexture normalTexture normalTextureScale obsolute occlusionTexture occlusionTexture...
来源: Laya3.0_api 发布时间: 20231115
...:Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中...
来源: Laya2.0_api 发布时间: 20190513
...果叠加)、ALPHABLENDED(透明度混合)。 Cull:剔除模式。Off(不剔除)、Front(剔除正面,只显示背面)、Back(剔除背面,只显示正面)。 通常使用的渲染模式为TRANSPARENT,也就是支持透明色,如图2-5所示,背景变成透明的了。 ...
来源: Laya3.0_文档 发布时间: 20231129
...:Vector3, isLocal:Boolean = false):void 观察目标位置。 Transform3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中...
来源: laya_api 发布时间: 20170929
...ishScrollText); } /* 停止滚动文本 */ finishScrollText() { Laya.stage.off(Laya.Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.off(Laya.Event.MOUSE_UP, this, this.finishScrollText); } /* 鼠标滚动文本 */ scrollText() { let nowX = this.txt.mouseX; let nowY = this.txt.mouseY; this.txt.s...
来源: Laya3.0_文档 发布时间: 20230830