大约有 1,233 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0051 秒)
...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
...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
...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
...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
...ass(),示例代码如下所示: const { regClass } = Laya; @regClass() export class Script extends Laya.Script { } 如动图1-1所示,只有使用了上述的这个装饰器标识,开发者自定义的组件脚本才会被IDE识别为组件,可以被节点(实体)的属性设置面板 ...
来源: Laya3.0_文档 发布时间: 20241014
...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
...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
...的脚本示例如下: 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_文档 发布时间: 20241014
...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
... = 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