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

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

191. 设置滤镜(TypeScript-LayaAir基础篇(TS)-位图) [ 60%]

... 个项目(排列成 4 x 5 矩阵)组成的数组,红色 var redMat: Array = [ 1, 0, 0, 0, 0, //R 0, 0, 0, 0, 0, //G 0, 0, 0, 0, 0, //B 0, 0, 0, 1, 0, //A ]; //创建一个颜色滤镜对象,红色 var redFilter: ColorFilter = new ColorFilter(redMat); // 赤化猩猩 var redApe: Sprite = this....

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

192. 和原生Dom交互 · LayaAir3.4 · 引擎文档 · LAYABOX [ 60%]

...rate of the AudioContext var frameCount = audioCtx.sampleRate * 2.0; var myArrayBuffer = audioCtx.createBuffer(2, frameCount, audioCtx.sampleRate); window.onclick = function() { // Fill the buffer with white noise; //just random values between -1.0 and 1.0 for (var channel = 0; channel < channels...

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

193. HttpRequest问题 [ 60%]

...url: string, data?: any, method?: string, responseType?: string, headers?: Array<any>): void; 这个发送的时候加入header,header里面的key-value如果key是固定的命名吗?如果value值是"Access-Control-Allow-Origin: *",那key对应的是哪个呀? 15818760256 ...

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

194. 图集动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 60%]

...帧的索引值, */ private function aniUrls(aniName:String,length:int):Array { var urls:Array=[]; for(var i:int=0;i(图6) 我们继续沿用之前的示例,在onLoaded方法中添加play()。 onLoaded方法中的代码如下所示 ```java private function onLoaded():void { //添加到舞台...

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

195. 绘制矢量图有圆弧的吗?不是绘制曲线,圆弧 [ 60%]

...以后,怎么删除释放资源? drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 为什么ani动画执行的不是按中心点执行的 富文本下划线绘制bug layaAir,图片在普通尺寸和放大2倍的情况下,会有绘...

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

196. laya.utils.Stat_API3.0 [ 59%]

...ngleFace UniformUpload uploadUniformNum Properties Static AllShow AllShow: Array<StatUIParams> = [Stat.FPSStatUIParams, Stat.NodeStatUIParams, Stat.Sprite3DStatUIParams, Stat.DrawCall, Stat.TriangleFace, Stat.RenderNode, Stat.SkinRenderNode, Stat.ParticleRenderNode, Stat.FrustumCulling, Stat.O...

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

197. 骨骼动画-换装 [ 59%]

...mature:Skeleton; private var mCurrSkinIndex:int = 0; private var mSkinList:Array = ["goblin","goblingirl"]; public function Skeleton_ChangeSkin() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); } public function startFun():void { m...

来源: Laya_示例 发布时间: 20260818

198. "Utils3D:unidentified class type in (.lh) file." [ 59%]

... 发起人 yaorao 相关问题 2.0.0编译报错Cannot find global type 'Array' Warning!,this class[MiniAdpter] already exist: Object {init: } 关于@prop {name:Tab,type:Node} 我觉得好麻烦啊 ,请问一下有别的方法吗 Failed to load resource: net::ERR_FILE_NOT_FOUND Uncaught Can not fi...

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

199. 混合模式-Lighter [ 59%]

...t * scaleFactor) / 2; } private createAnimation(): Animation { var frames: Array = []; for (var i: number = 1; i = animation.frames.concat(); // 反转帧 clips = clips.reverse(); // 添加到已有帧末尾 animation.frames = animation.frames.concat(clips); animation.play(); return animation; } pri...

来源: Laya_示例 发布时间: 20260818

200. laya.ui.Tree [ 59%]

...anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  array : Array 列表数据源,只包含当前可视节点数据。 Tree autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变...

来源: Laya2.0_api 发布时间: 20190513