大约有 184 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)
...法和帧标签事件相关功能。 可以继承此类,但不要直接实例化此类,因为有些方法需要由子类实现。 Hierarchy Sprite AnimationBase FrameAnimation Animation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior l...
来源: Laya3.0_api 发布时间: 20231115
...此外,为了兼容 2D 渲染的特殊需求,引擎在创建着色器实例时会对该配置进行临时调整,确保 2D 材质仍然采用传统的 uniform 设置方式,而 3D 材质则能够充分利用 UBO 带来的性能优势。 这种设计体现了引擎针对不同渲染场景所采...
来源: Laya3.0_文档 发布时间: 20251231
...编辑器的位图字体的名称。  3.在程序代码里实例化使用了位图字体的页面之前,需要先创建并注册页面内使用到的位图字体。
来源: Laya2.0_文档 发布时间: 20201114
...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
...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
...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
...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
...使用动态图集 2.1 创建管理器 使用动态图集需要在脚本中实例化DynamicAtlasManager对象: //接口 constructor(config?: Partial<DynamicAtlasConfig>, autoReplace: boolean = true) 参数说明: config是创建动态图集需要的配置参数,各项参数内容如下...
来源: Laya3.0_文档 发布时间: 20260131
...设置一个Rectangle区域作为点击区域,或者设置一个HitArea实例作为点击区域,HitArea内可以设置可点击和不可点击区域。 如果不设置hitArea,则根据宽高形成的区域进行碰撞。 Sprite hitTestPrior : Boolean = false 指定鼠标事件检测是优先...
来源: laya_api 发布时间: 20170929
...器的位图字体的名称。  3.在程序代码里实例化使用了位图字体的页面之前,需要先创建并注册页面内使用到的位图字体。
来源: Laya2.0_文档 发布时间: 20201114