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

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

111. laya.d3.physics.PhysicsSettings_API3.0 [ 81%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/PhysicsSettings" PhysicsSettings Class PhysicsSettings PhysicsSettings 类用于创建物理配置信息。 Hierarchy PhysicsSettings Index Properties fixedTimeStep flags maxSubSteps Pro...

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

112. LayaEnv_API3.0 [ 81%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "LayaEnv" LayaEnv Class LayaEnv Hierarchy LayaEnv Index Properties afterInit beforeInit isConch isPlaying isPreview version Properties Static afterInit afterInit: () => void Defined in LayaEnv.ts:8 Ty...

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

113. laya.d3.renderobjs.renderobj.QuickSort_API3.0 [ 81%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/RenderObj/QuickSort" QuickSort Class QuickSort Hierarchy QuickSort Implements ISortPass Index Methods sort Methods sort sort(elements: SingletonList<RenderElement>, isTransparen...

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

114. laya.resource.WebGLRTMgr_API3.0 [ 81%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/WebGLRTMgr" WebGLRTMgr Class WebGLRTMgr WebGLRTMgr 管理WebGLRenderTarget的创建和回收 TODO 需求不大,管理成本高。先去掉。 Hierarchy WebGLRTMgr Index Methods getRT rel...

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

115. 组件装饰器说明 · LayaAir3.0文档 · LAYABOX [ 81%]

...ass(),示例代码如下所示: const { regClass } = Laya; @regClass() export class Script extends Laya.Script { } 如动图1-1所示,只有使用了上述的这个装饰器标识,开发者自定义的组件脚本才会被IDE识别为组件,可以被节点(实体)的属性设置面板 ...

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

116. laya.d3.webxr.core.WebXRCameraInfo_API3.0 [ 81%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/WebXR/core/WebXRExperienceHelper" WebXRCameraInfo Class WebXRCameraInfo Hierarchy WebXRCameraInfo Index Properties camera depthFar depthNear Properties camera camera: any Defined in laya/d3/WebX...

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

117. laya.utils.FontInfo_API3.0 [ 81%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/FontInfo" FontInfo Class FontInfo Hierarchy FontInfo Index Constructors constructor Methods setFont parse Constructors constructor new FontInfo(font: string | null): FontInfo Defined in laya/...

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

118. 资源加载 · LayaAir3.0文档 · LAYABOX [ 80%]

...的脚本示例如下: const { regClass, property } = Laya; @regClass() export class LoaderDemo extends Laya.Script { onAwake(): void { this.loadTexture("resources/image/monkey2.png", 500);//需要在resources/image放入相应的资源 this.loadTexture("https://layaair.com/3.x/demo/resources/res/...

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

119. laya.particle.ParticleTemplateBase_API3.0 [ 80%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/particle/ParticleTemplateBase" ParticleTemplateBase Class ParticleTemplateBase ParticleTemplateBase 类是粒子模板基类 Hierarchy ParticleTemplateBase Index Constructors constructor Properties...

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

120. 显示与切换图片(TypeScript-LayaAir基础篇(TS)-位图) [ 80%]

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

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