大约有 1,288 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)
Laya2.0_api(368) laya_api(298) Laya_社区(266) Laya_示例(145) Laya2.0_示例(111) Laya2.0_文档(68) Laya3.0_api(23) Laya3.0_文档(9)
...创建出符合自己需要的图片。 **示例代码:** ```javascript package { import laya.display.Stage; import laya.ui.Image; import laya.webgl.WebGL; public class UI_Image { public function UI_Image() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居...
来源: Laya2.0_文档 发布时间: 20210714
...tSize = 20; Laya.stage.addChild(inputText); } } } new laya.Text_Editable();package { import laya.display.Input; import laya.display.Stage; import laya.utils.Browser; import laya.webgl.WebGL; public class Text_Editable { public function Text_Editable() { // 不支持WebGL时自动切换至Canvas Laya...
来源: Laya_示例 发布时间: 20260819
API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientProperties | Methods Packagelaya.d3.coreClasspublic class GradientInheritanceGradient ObjectImplements laya.d3.core.IClone Gradient 类用于创建颜色渐变。 Public Properties PropertyDefined By colorAlp...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames MouseManagerProperties | Methods | Constants Packagelaya.eventsClasspublic class MouseManagerInheritanceMouseManager Object MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段、目标阶...
来源: Laya2.0_api 发布时间: 20190513
...以通过回车在上一行未满的情况下在下一行输入。 ```java package { import laya.display.Stage; import laya.ui.TextInput; public class TextInput_Example { public function TextInput_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efe...
来源: Laya2.0_文档 发布时间: 20210715
sk文件加载 package { import laya.net.Loader; import laya.net.ResourceVersion; import laya.utils.Handler; import view.TestView; import laya.webgl.WebGL; import laya.net.URL; import laya.ani.bone.Skeleton; public class LayaU...
来源: Laya_社区 发布时间: 20180828
...axLoader = 5; console.log("All done."); } } } } new laya.Loader_Sequence();package { import laya.resource.Texture; import laya.utils.Handler; public class Loader_Sequence { private var numLoaded:int = 0; private var resAmount:int = 3; public function Loader_Sequence() { Laya.init(500, 400); // 按...
来源: Laya_示例 发布时间: 20260819
...as3版,1.7.18,效果就是下图这样,感觉像是图集乱了 package { import laya.map.TiledMap; import laya.maths.Rectangle; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class LayaSample { private var tMap:TiledMap; public function LayaSample() {...
来源: Laya_社区 发布时间: 20180428
...sdcard/layabox/scripts/config.js) I/LayaBox (12689): found the file in the package:scripts/config.js I/LayaBox (12689): Download [ ]:http://192.168.137.1/public/sh ... 2.471 E/LayaBox (12689): download image file error! file:////data/data/com.klzz.platform/cache//LayaCache//localstorage/logo/logo.pn...
来源: Laya_社区 发布时间: 20170320
API DocumentationAll Packages | All Classes | Index | Frames No Frames MouseJointProperties | Methods Packagelaya.physics.jointClasspublic class MouseJointInheritanceMouseJoint JointBase Component Object 鼠标关节:鼠标关节用于通过鼠标来操控物体。它试图将物体拖向...
来源: Laya2.0_api 发布时间: 20190513