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

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

2001. laya.resource.Texture [ 53%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher ObjectSubclasses RenderTarget2D Texture 是一个纹理处理类。 Public Properties PropertyDefined...

来源: laya_api 发布时间: 20170929

2002. laya.d3.core.material.UnlitMaterial [ 53%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames UnlitMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class UnlitMaterialInheritanceUnlitMaterial BaseMaterial laya.resource.Resource UnlitMaterial 类用于实现不受光照影响的材...

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

2003. laya.d3.renderobjs.nativeobj.NativeShaderData_API3.0 [ 53%]

...u Globals "laya/d3/RenderObjs/NativeOBJ/NativeShaderData" NativeShaderData Class NativeShaderData Hierarchy ShaderData NativeShaderData Implements IClone INativeUploadNode Index Properties _dataType _nativeObj nativeObjID payload32bitNum updataSizeMap updateMap Accessors uniformBuffersMap Methods ad...

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

2004. 在Unity中设置动画事件(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 53%]

...响事件的触发这里是随便取的名。 ```typescript export default class SceneScript extends Laya.Script3D { //用于表现的方法 public showMsgFunc; constructor(){ super(); } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 ShowMsg(){ console.log("S...

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

2005. popup设置了关闭效果后,窗口关闭但遮罩层没有关掉,请问如何处理 [ 53%]

...            }   import { ui } from "./ui/layaMaxUI"; export default class ShopDialog extends ui.ShopDialogUI { constructor() { super(); this.popupEffect = Laya.Handler.create(this, this.showEffect); this.closeEffect = Laya.Handler.create(this, this.hideEffect); this.btnClose.on(Laya.Event.CLI...

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

2006. laya.d3.math.OrientedBoundBox [ 53%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames OrientedBoundBoxProperties | Methods Packagelaya.d3.mathClasspublic class OrientedBoundBoxInheritanceOrientedBoundBox Object OrientedBoundBox 类用于创建OBB包围盒。 Public Properties PropertyDefined By  extent...

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

2007. 请教Laya.BitmapFont加载位图文字不能显示的问题 [ 53%]

...教Laya.BitmapFont加载位图文字不能显示的问题 // 程序入口 class GameMain{ private mFontName:string = "diyFont"; private mBitmapFont:Laya.BitmapFont; constructor() { Laya.init(600,400); this.mBitmapFont = new Laya.BitmapFont(); this.mBitmapFont.loadFont("../laya/assets/txt.fnt", new L...

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

2008. [LayaAir 2.0] 如何用代码为Spirte添加2d物理特性 [ 53%]

...rte添加2d物理特性 官方的2d物理引擎文档都是IDE篇的。   class CollisionBoll extends Laya.Sprite { private _boll1:Laya.Sprite; constructor() { super(); //物理模块 this._boll1 = new Laya.Sprite(); this.addChild(this._boll1); this._boll1.x = 20; this._boll1.loadImage('comp/btn_cl...

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

2009. 照着官方文档写的 Dialog 报错? [ 53%]

...Area = "0,0," + bgImg.width + "," + bgImg.height; dialog.show(); }; } Laya.class(LoadResource, "LoadResource", null);照着官方文档实例, 写了一个显示 Dialog 代码, 怎么显示不出来?而且F12里输出报错: Uncaught TypeError: Cannot read property 'visible' of undefined   ...

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

2010. laya.resource.BaseTexture_API3.0 [ 53%]

...ternals Only exported Menu Globals "laya/resource/BaseTexture" BaseTexture Class BaseTexture BaseTexture 纹理的父类,抽象类,不允许实例。 Hierarchy Resource BaseTexture NativeRenderTexture2D RenderTexture2D RenderTexture TextureCube Texture2DArray Texture2D VideoTexture Index Constru...

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