大约有 3,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0136 秒)
Laya_社区(1088) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(110)
...t.Socket; import laya.utils.Byte; public class CConnector extends Socket { protected var sendBuf:Byte = null; protected var recvBuf:Byte = null; public function CConnector() { ...
来源: Laya_社区 发布时间: 20170920
...s.Browser; import laya.webgl.WebGL; import laya.wx.mini.MiniAdpter; public class LayaSample { public var sprite:Sprite = new Sprite(); public function LayaSample() { //初始化引擎 MiniAdpter.init(); Laya.init(Browser.width, Browser.height,WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor...
来源: Laya_社区 发布时间: 20190515
...a.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 function onLoaded():void { var arr:ArrayBuffer=Lay...
来源: Laya_社区 发布时间: 20161219
...webview加载的本地html5,webview的官网api有这样一句话:This class is the basis upon which you can roll your own web browser or simply display some online content within your Activity. It uses the WebKit rendering engine to display web pages 。原来webview也相当于一个浏览器...
来源: Laya_社区 发布时间: 20160104
API DocumentationAll Packages | All Classes | Index | Frames No Frames ScriptProperties | Methods Packagelaya.componentsClasspublic class ScriptInheritanceScript Component Object Script 类用于创建脚本的父类,该类为抽象类,不允许实例。 组件的生命周期 Public Pro...
来源: Laya2.0_api 发布时间: 20190513
...访问到 UI3D, 再用 ui3d.sprite 获取 prefab 的根节点. export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { let sprite3d: Laya.Sprite3D = this.scene3D.getChildByName("m_Sprite3D"); let ui3d: Laya.UI3D = sprite3d.getComponent(Laya.UI3D); let ui3d_root: Laya.Sprite = ui3...
来源: Laya_社区 发布时间: 20251020
...文档查看:http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.display.Stage
来源: Laya2.0_文档 发布时间: 20200307
...讯返回数据 下面是复制的代码,标“*”处为有问题。 class Game { private socket: Laya.Socket; private byte: Laya.Byte; constructor() { //初始化引擎 Laya.init(600, 400, Laya.WebGL); this.byte = new Laya.Byte(); //这里我们采用小端 this.byte.endian = Laya.Byte.LITTLE_...
来源: Laya_社区 发布时间: 20180211
...先登录 发起人 begincsdn 相关问题 Laya2.1.0 JS调用Java PlatformClass undefined Unity导出有光照贴图时,出现错误:ArgumentException: Invalid path 真是醉了这个问题都有人问过了 也没见有答复的Uncaught TypeError: Cannot set property 'roleAni' of undefined js...
来源: Laya_社区 发布时间: 20171006
..."laya/d3/component/Volume/reflectionProbe/ReflectionProbe" ReflectionProbe Class ReflectionProbe ReflectionProbe 类用于实现反射探针组件 miner Hierarchy Volume ReflectionProbe Index Constructors constructor Properties _extra _isScene _singleton _updateMark owner runInEditor scriptPath TEMP...
来源: Laya3.0_api 发布时间: 20231115