• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 260 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)

221. laya.device.media.Video_API3.0 [ 42%]

...ABLY WEBM drawtocanvCtx Accessors active activeInHierarchy alpha blendMode buffered cacheAs components currentSrc currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics heigh...

来源: Laya3.0_api 发布时间: 20231102

222. Laya2.0导入protobufjs第三方库,报错找不到文件 [ 42%]

...s", "node_modules/@types/node/async_hooks.d.ts", "node_modules/@types/node/buffer.d.ts", "node_modules/@types/node/child_process.d.ts", "node_modules/@types/node/cluster.d.ts", "node_modules/@types/node/console.d.ts", "node_modules/@types/node/constants.d.ts", "node_modules/@types/node/crypto.d.ts",...

来源: Laya_社区 发布时间: 20190227

223. socket报错,on: reserved1 = 1, reserved2 = 1, reserved3 = 0 [ 41%]

...ar byte:Byte = new Byte(); byte.writeUTFString(msg); this.socket.send(byte.buffer); } } private function openHandler(event:Object = null):void { //正确建立连接; trace("openHandler.."); } private function receiveHandler(msg:Object = null):void { ///接收到数据触发函数 trace("receiveHa...

来源: Laya_社区 发布时间: 20180202

224. zip更新 · LayaAir3.3 · 引擎文档 · LAYABOX [ 41%]

... @param opttimeout 超时时间, * 注意如果成功了不会返回ArrayBuffer,不要使用这个参数。因为可能太大。 */ declare var downloadBigFile:(url:string, local:string, onprog:(total:number,now:number,speed:number)=>boolean,oncomp:(curlret:number, httpret:number)=>void, t...

来源: Laya3.0_文档 发布时间: 20251010

225. drawMeshInstance渲染指令的使用说明(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 41%]

...Air2.11beta版本开始,新增了一个重磅功能。那就是在CommandBuffer中增加了渲染指令drawMeshInstance,还有增加了DrawMeshInstancedCMD渲染命令类。本文就是针对新功能的使用,结合官网示例进行介绍说明。 > **提示**: > > 1、本文中涉及的...

来源: Laya2.0_文档 发布时间: 20210714

226. laya.media.VideoNode_API3.0 [ 41%]

...htSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode buffered cacheAs components currentSrc currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics heigh...

来源: Laya3.0_api 发布时间: 20231115

227. [临时解决]bug?加载sk问题 [ 41%]

...种形式,就避免了运行时报错。 {url:"ui/Clown.sk", type:Loader.BUFFER}, 但,调用play播放指定动画时,还是说_template为null, 除非先等上若干帧再调用,才正常。 问题是,拖到ui设计器里的元素,如何在生成ui时判断这个组件是否已经准...

来源: Laya_社区 发布时间: 20180622

228. 缓存工具-layadcc · LayaAir3.3 · 引擎文档 · LAYABOX [ 41%]

...则直接使用 * @returns */ async readFile(url:string):Promise<ArrayBuffer|null> /** * 把一个原始地址转换成cache服务器对象地址 * @param url 原始资源地址 * @returns */ async transUrl(url:string) /** * 与DCC服务器同步本版本的所有文件。 * 可以用这个函...

来源: Laya3.0_文档 发布时间: 20251010

229. laya.d3.core.material.Material_API3.0 [ 40%]

...ne clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2...

来源: Laya3.0_api 发布时间: 20231115

230. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 39%]

...r.load(this.AllPng,new Laya.Handler(this,this.onCallBack),null,Laya.Loader.BUFFER); Laya.stage.on(Laya.Event.KEY_DOWN,this,this.onKey); //######################################################################## } private curStatus:boolean = false; private refreshCamera(){ this.curStatus =!this.curSt...

来源: Laya_社区 发布时间: 20220815