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

大约有 1,232 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0050 秒)

431. 加载-单一类型资源加载 [ 70%]

...Laya.Loader; import Texture = Laya.Texture; import Handler = Laya.Handler; export class Loader_SingleType { constructor() { Laya.init(550, 400); // 加载一张png类型资源 Laya.loader.load("res/apes/monkey0.png", Handler.create(this, this.onAssetLoaded1)); // 加载多张png类型资源 Laya.loa...

来源: Laya2.0_示例 发布时间: 20241118

432. laya.d3.math.Plane_API3.0 [ 70%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Plane" Plane Class Plane 平面。 Hierarchy Plane Index Constructors constructor Properties PlaneIntersectionType_Back PlaneIntersectionType_Front PlaneIntersectionType_Intersecting Access...

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

433. laya.d3.webxr.core.WebXRExperienceHelper_API3.0 [ 70%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/WebXR/core/WebXRExperienceHelper" WebXRExperienceHelper Class WebXRExperienceHelper 类用来管理WebXR author miner Hierarchy WebXRExperienceHelper Index Properties glInstance supported xr_Man...

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

434. 单选框组件 · LayaAir3.0文档 · LAYABOX [ 70%]

...现脚本控制Radio: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Radio }) public radio: Laya.Radio; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this...

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

435. laya.html.HtmlElement_API3.0 [ 70%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/html/HtmlElement" HtmlElement Class HtmlElement Hierarchy HtmlElement Index Constructors constructor Properties _attrs name obj space style text type pool Methods fetchAttributes getAttr getAttrBoo...

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

436. laya.d3.physicscannon.shape.CannonColliderShape_API3.0 [ 70%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physicsCannon/shape/CannonColliderShape" CannonColliderShape Class CannonColliderShape ColliderShape 类用于创建形状碰撞器的父类,该类为抽象类。 Hierarchy CannonColliderShape...

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

437. 计时器-延迟调用 [ 70%]

...ext = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_CallLater { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CEN...

来源: Laya2.0_示例 发布时间: 20241118

438. laya.d3.renderobjs.renderobj.RenderElementOBJ_API3.0 [ 70%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/RenderObj/RenderElementOBJ" RenderElementOBJ Class RenderElementOBJ Hierarchy RenderElementOBJ SkinRenderElementOBJ InstanceRenderElementOBJ Implements IRenderElement Index Constructo...

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

439. 请问,在使用插件导出包含多个动画的FBX文件时报错,怎么处理? [ 70%]

...o/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameObject, .JSONObject component, System.Collections.Generic.List`1...

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

440. Sprite-缓存为静态图像 [ 70%]

...port Text = Laya.Text; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Sprite_Cache { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall...

来源: Laya2.0_示例 发布时间: 20241118