大约有 226 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0039 秒)
...Texture = laya.resource.Texture import Handler = laya.utils.Handler import Browser = laya.utils.Browser import TiledMap = laya.map.TiledMap import Rectangle = laya.maths.Rectangle import Stat = laya.utils.Stat import TextFiled = laya.display.Text import LocalStorage = laya.net.LocalStorage 2018-0...
来源: Laya_社区 发布时间: 20180116
...让项目开发更高效。class Sprite_ScreenShot { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; this.btnArr = ["res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png"]; this.nameArr = ["canvas截图","sprite截图","...
来源: Laya2.0_示例 发布时间: 20241118
...ite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var texture1 = "../../res/apes/monkey2.png"; var texture2 = "../../res/apes/monkey3.png"; var flag = false; var ape; (function() { // 不支持WebGL...
来源: Laya_示例 发布时间: 20241118
...= 500, mCurrIndex = 0; class Skeleton_MultiTexture { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; ...
来源: Laya2.0_示例 发布时间: 20241118
...tY = 500, mCurrIndex = 0; class Skeleton_SpineVine { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV ...
来源: Laya2.0_示例 发布时间: 20241118
...0, mCurrIndex = 0; class Skeleton_SpineStretchyman { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV ...
来源: Laya2.0_示例 发布时间: 20241118
...kage { import laya.display.Text; import laya.net.Loader; import laya.utils.Browser; import laya.utils.Handler; public class Test { public function Test() { Laya.init(550,400); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("hu.ttf",Handler.create(this,onLoaded),null,Loader.BUFFER); } private functio...
来源: Laya_社区 发布时间: 20161219
...n = Laya.Skeleton; var Templet = Laya.Templet; var Event = Laya.Event; var Browser = Laya.Browser; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var mAniPath; var mStartX = 400; var mStartY = 500; var mFactory; var mActionIndex = 0; var mCurrIndex = 0; var mArmature; var mCurrSkinIndex = 0; var mSki...
来源: Laya_示例 发布时间: 20241118
...monkey1Res, monkey2Res; class Sprite_SwitchTexture { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH ...
来源: Laya2.0_示例 发布时间: 20241118
....Stage; import laya.events.Event; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import threeDimen.common.CameraMoveScript; public class D3Base_TargetTexture { private var skinMesh:MeshSprite3D; private var skinAni:SkinAnimations; private var mes...
来源: Laya_社区 发布时间: 20170209