大约有 1,062 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0046 秒)
Laya3.0_api(409) Laya2.0_api(226) Laya_社区(219) laya_api(168) Laya2.0_文档(20) Laya3.0_文档(10) Laya2.0_示例(7) Laya_示例(3)
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/staticmesh/StaticBatchMeshRender" StaticBatchMeshRender Class StaticBatchMeshRender Hierarchy BaseRender StaticBatchMeshRender Impl...
来源: Laya3.0_api 发布时间: 20231115
...式版本,内容如下 ,跟你的不同,兄弟你去升级一上吧。 public static function destroyUnusedResources(group:String = null):void { var res:Resource; if (group) { var resouList:Vector.<Resource> = _groupResourcesMap[group]; if (resouList) { var tempResouList:Vector.<Resourc...
来源: Laya_社区 发布时间: 20190126
...false 是否进行URL编码,默认为true * * return URL参数字符串 */ public static urlEncode(param:any, key?:any, encode:boolean = true):string{ if (param == null) return ''; var paramStr = ''; var t = typeof (param); if (t == 'string' || t == 'number' || t == 'boolean') { paramStr += '&' ...
来源: Laya_社区 发布时间: 20170628
...efault class BindSource extends Laya.Sprite implements IBindSource { public boneName:string; public offestX:number; public offestY:number; constructor(boneName:string,offestX:number=0,offestY=0){ super(); this.boneName=boneName; this.offestX=offestX; this.offestY=offestY; } destroy(destro...
来源: Laya_社区 发布时间: 20190805
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/Byte" Byte Class Byte Byte 类提供用于优化读取、写入以及处理二进制数据的方法和属性。 Byte 类适用于需要在...
来源: Laya3.0_api 发布时间: 20231115
...en • 2018-03-16 16:10 api文档是否有问题,点击【Show Inherited Public Methods】没有反应,有些方法在文档中也没有看到 Laya_Aaron • 2018-03-16 16:13 在引擎中 写这些东西就能点进去看源码 ,这些是源码的注释
来源: Laya_社区 发布时间: 20180316
...的代码。 export module ui { export class HelloUI extends Scene { public static uiView:any ={"type":"Scene","props":{"width":640,"height":1136},"compId":2,"child":[{"type":"Label","props":{"y":64,"x":214.5,"width":211,"text":"label","styleSkin":"comp/label.png","height":67},"compId":3}],"lo...
来源: Laya_社区 发布时间: 20190625
...置到6就会出现透明的情况,怎么生成更模糊的效果? public static function getScreenshot(bl:int=15):Sprite{ var htmlC:HTMLCanvas =_self.drawToCanvas(1334,750,0,0); var _texture:Texture = new Texture(htmlC); var sp2:Sprite = new Sprite(); sp2.graphics.dra...
来源: Laya_社区 发布时间: 20170825
...); ``` > 初始化shader ```typescript //初始化我们的自定义shader public static function initShader() { //所有的attributeMap属性 var attributeMap = { 'a_Position': Laya.VertexMesh.MESH_POSITION0, 'a_Normal': Laya.VertexMesh.MESH_NORMAL0 }; //所有的uniform属性 var uniformMap = { 'u...
来源: Laya2.0_文档 发布时间: 20210715
...项目适合的!比如使用这个模式 /**寻址模式_不循环。*/ public static const FILTERMODE_TRILINEAR:int = 2; 或者对anisoLevel大小进行设置 filterMode 进行修改 具体效果需要你自己调试 这个一样可以达到控制远近效果的! 2018-10-27 0 1 分享 微博 QZ...
来源: Laya_社区 发布时间: 20181024