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

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

801. laya.d3.component.staticmesh.StaticBatchMeshRender_API3.0 [ 51%]

...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

802. 请问我看错了吗??文档问题 [ 51%]

...式版本,内容如下 ,跟你的不同,兄弟你去升级一上吧。 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

803. 关于HttpRequest [ 51%]

...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

804. Laya 绑定显示内容到骨骼动画 [ 51%]

...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

805. laya.utils.Byte_API3.0 [ 51%]

...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

806. 新手学layabox的疑问,关于api文档 [ 51%]

...en • 2018-03-16 16:10 api文档是否有问题,点击【Show Inherited Public Methods】没有反应,有些方法在文档中也没有看到 Laya_Aaron • 2018-03-16 16:13 在引擎中 写这些东西就能点进去看源码 ,这些是源码的注释

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

807. 内嵌模式创建scene,运行时报找不到json文件 [ 51%]

...的代码。     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

808. BlurFilter的strength属性设置到5以上就没效果了 [ 51%]

...置到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

809. 如何自定义Shader(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 51%]

...); ``` > 初始化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

810. Laya3D 贴图读取时参数mipmap修改无效,请问如何去掉默认的mipmap [ 51%]

...项目适合的!比如使用这个模式 /**寻址模式_不循环。*/ public static const FILTERMODE_TRILINEAR:int = 2; 或者对anisoLevel大小进行设置 filterMode 进行修改 具体效果需要你自己调试 这个一样可以达到控制远近效果的! 2018-10-27 0 1 分享 微博 QZ...

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