大约有 893 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0045 秒)
Laya_社区(501) Laya_示例(133) Laya2.0_示例(98) Laya3.0_api(55) Laya2.0_文档(54) laya_api(27) Laya2.0_api(22) Laya3.0_文档(3)
...解laya.net.LoaderManager中的load()方法和getRes()方法,以及laya.utils.Handler中的create()方法,各方法的参数图3、图4、图5、图6所示: ![图3](img/3.png) (图3) ![图4](img/4.png) (图4) ![图2](img/5.png) (图5) ![图2](img/6.png) (图6) ### 2.2 用drawTexture 加载显...
来源: Laya2.0_文档 发布时间: 20210715
...els.Mesh; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author ... */ public class SpotLightDemo { private var _quaternion:Quaternion = new Quaternion(); private var _position:Vector3 = new Vector3(); public function SpotLig...
来源: Laya_示例 发布时间: 20241002
...进去的? ------------------------------------------- declare module laya.utils { /** * <code>Timer</code> 是时钟管理类。它是一个单例,可以通过 Laya.timer 访问。 */ class Timer { private static _pool; /** 时针缩放。*/ scale: number; /** 当前时间。*/ currTi...
来源: Laya_社区 发布时间: 20171109
...lay.Stage; import laya.display.Text; import laya.events.Event; import laya.utils.Browser; import laya.webgl.WebGL; public class Interaction_FixInteractiveRegion { private var logger:Text; public function Interaction_FixInteractiveRegion() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser...
来源: Laya2.0_示例 发布时间: 20241002
...>>>>>>>>>>>>>className:layaair.game.utility.ProcessInfo,methodName:getTotalMem >>>>>>>>>>>>before 12-09 22:04:33.106 12728-12832/? E/LayaBox: >>>>>>>>>>>>after 12-09 22:04:33.106 12...
来源: Laya_社区 发布时间: 20181209
...s.SkyBox; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; /** * ... * @author ... */ public class PBRStandardMaterialDemo { public function PBRStandardMaterialDemo() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_...
来源: Laya_示例 发布时间: 20241002
...ort laya.d3.shader.ShaderCompile3D; import laya.display.Stage; import laya.utils.Stat; import common.CameraMoveScript; import shaderModule.customMaterials.CustomMaterial; /** * ... * @author ... */ public class Shader_Simple { private var rotation:Vector3 = new Vector3(0, 0.01, 0); public function S...
来源: Laya_示例 发布时间: 20241002
...al feature and could change at any time. laya_ide_time.require.single.gulp-util: 7.87ms gulp.js:8 laya_ide_time.require.single.pretty-hrtime: 2.2ms gulp.js:8 laya_ide_time.require.single.chalk: 10.4ms gulp.js:8 laya_ide_time.require.single.semver: 5.05ms gulp.js:8 laya_ide_time.require.single.archy:...
来源: Laya_社区 发布时间: 20200607
...Sprite; import laya.events.Event; import laya.net.HttpRequest; import laya.utils.Browser; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var sp:Sprite = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandl...
来源: Laya2.0_文档 发布时间: 20210714
...e from "../../network/interfaces/IHttpResponse"; import Notice from "../../utils/Notice"; export default class AuthReg extends ui.AuthRegUI { /** 密码临时存储 */ private _tmp_pwd: string = ""; /** 输入框数组 */ private _arrInput: Laya.TextInput = [this.input_nickname, this.input_mobile, t...
来源: Laya_社区 发布时间: 20200410