大约有 676 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
Laya3.0_api(470) Laya2.0_api(71) Laya3.0_文档(63) laya_api(58) Laya_社区(8) Laya_示例(2) Laya2.0_文档(2) Laya2.0_示例(2)
... : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //小游戏加载分包 Laya.loader.loadPackage("sub1", this.printProgr...
来源: Laya3.0_文档 发布时间: 20251010
...ong材质。 Hierarchy Material BlinnPhongMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERMODE_CUTOUT RENDERMODE_OPAQUE RENDERMODE_TRANSPARENT RENDERQUEUE_ALPHATEST RENDERQUEUE_OPAQUE RENDERQUEUE_...
来源: Laya3.0_api 发布时间: 20231115
...inTex : number; public static _mainCol : number; inited : boolean = false; constructor() { super(); if(!this.inited) { CMat._mainTex = Laya.Shader3D.propertyNameToID("u_MainTex"); CMat._mainCol = Laya.Shader3D.propertyNameToID("u_MainCol"); CMat.initShader(); this.inited = true; } this.setShaderName...
来源: Laya_社区 发布时间: 20190814
...veContext" NativeContext Class NativeContext Hierarchy NativeContext Index Constructors constructor Properties _buffer _byteArray _fdata _idata sprite ARRAY_BUFFER_REF_COPY ARRAY_BUFFER_REF_REFERENCE ARRAY_BUFFER_TYPE_CMD ARRAY_BUFFER_TYPE_DATA ENUM_TEXTALIGN_CENTER ENUM_TEXTALIGN_DEFAULT ENUM_TEXTA...
来源: Laya3.0_api 发布时间: 20231102
...上@property()。 @property( { type : String } ) public text: string = ""; constructor() { super(); } } 5、Runtime的使用差异 3.0的场景与2.0完全不是一个概念, 3.0的runtime只能在场景上的2D根节点Scene2D或预制体的根节点上设置,其它的子级节点,不再支...
来源: Laya3.0_文档 发布时间: 20251010
...新建一个ui项目。简单的调用接口如下: class LayaUISample { constructor() { //初始化引擎 Laya.init(600,400,Laya.WebGL); //设置Laya提供的worker.js路径 Laya.WorkerLoader.workerPath = "libs/worker.js"; //开启worker线程 Laya.WorkerLoader.enable = true; //加载引擎需要...
来源: Laya3.0_文档 发布时间: 20251010
...nds Laya.Script { @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //支付宝小游戏 Laya.loader.loadPackage("sub1", this.printProgress).then...
来源: Laya3.0_文档 发布时间: 20251010
...:voidsortingFudgeproperty public var sortingFudge:Number排序矫正值。Constructor DetailBaseRender()Constructorpublic function BaseRender(owner:RenderableSprite3D) 创建一个新的 BaseRender 实例。 Parameters owner:RenderableSprite3DMethod Detail_addShaderDefine()method public function _a...
来源: laya_api 发布时间: 20170929
... property } = Laya; @regClass() export class UI_Tree extends Laya.Script { constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { var res: any[] = ["atlas/comp/vscroll.png", "atlas/comp/vscroll$bar.png", "at...
来源: Laya3.0_文档 发布时间: 20251010
... miner 类用于创建WebXR摄像机。 Hierarchy Camera WebXRCamera Index Constructors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTF...
来源: Laya3.0_api 发布时间: 20231115