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

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

151. laya.display.AnimationBase_API3.0 [ 44%]

...法和帧标签事件相关功能。 可以继承此类,但不要直接实例此类,因为有些方法需要由子类实现。 Hierarchy Sprite AnimationBase FrameAnimation Animation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior l...

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

152. 运行配置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 44%]

...此外,为了兼容 2D 渲染的特殊需求,引擎在创建着色器实例时会对该配置进行临时调整,确保 2D 材质仍然采用传统的 uniform 设置方式,而 3D 材质则能够充分利用 UBO 带来的性能优势。 这种设计体现了引擎针对不同渲染场景所采...

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

153. 位图字体的制作与使用(JavaScript-LayaAir基础篇(JS)-文本) [ 43%]

...编辑器的位图字体的名称。 ![10](img/10.png) 3.在程序代码里实例使用了位图字体的页面之前,需要先创建并注册页面内使用到的位图字体。

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

154. laya.resource.TextResource_API3.0 [ 43%]

...errides Resource.__constructor Defined in laya/resource/TextResource.ts:23 实例文字资源 Parameters data: any format: TextResourceFormat Returns TextResource Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 Readonly data data: any Defined in ...

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

155. laya.resource.BaseTexture_API3.0 [ 43%]

...xture Class BaseTexture BaseTexture 纹理的父类,抽象类,不允许实例。 Hierarchy Resource BaseTexture NativeRenderTexture2D RenderTexture2D RenderTexture TextureCube Texture2DArray Texture2D VideoTexture Index Constructors constructor Properties _id destroyedImmediately lock name url u...

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

156. laya.components.AnimatorController2D_API3.0 [ 42%]

...source.__constructor Defined in laya/components/AnimatorController2D.ts:23 实例2D动画控制器 Parameters data: any Returns AnimatorController2D Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolea...

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

157. laya.resource.AtlasResource_API3.0 [ 42%]

...errides Resource.__constructor Defined in laya/resource/AtlasResource.ts:9 实例体格大图合集资源 Parameters dir: string textures: Array<Texture> frames: Array<Texture> Returns AtlasResource Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Re...

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

158. 动态图集 · LayaAir3.4 · 引擎文档 · LAYABOX [ 42%]

...使用动态图集 2.1 创建管理器 使用动态图集需要在脚本中实例DynamicAtlasManager对象: //接口 constructor(config?: Partial<DynamicAtlasConfig>, autoReplace: boolean = true) 参数说明: config是创建动态图集需要的配置参数,各项参数内容如下...

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

159. laya.ui.AsynDialog [ 42%]

...设置一个Rectangle区域作为点击区域,或者设置一个HitArea实例作为点击区域,HitArea内可以设置可点击和不可点击区域。 如果不设置hitArea,则根据宽高形成的区域进行碰撞。 Sprite hitTestPrior : Boolean = false 指定鼠标事件检测是优先...

来源: laya_api 发布时间: 20170929

160. 位图字体的制作与使用(ActionScript-LayaAir基础篇(AS3)-文本) [ 41%]

...器的位图字体的名称。 ![10.png](img/10.png) 3.在程序代码里实例使用了位图字体的页面之前,需要先创建并注册页面内使用到的位图字体。

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