大约有 1,561 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0087 秒)
Laya_社区(554) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(70) Laya2.0_示例(2)
...值 将结果赋值给图层遮罩属性 示例代码如下: const { regClass, property } = Laya; @regClass() export class lightTest extends Laya.Script { declare owner: Laya.Sprite; @property({ type: Laya.Sprite }) light1: Laya.Sprite; @property({ type: Laya.Sprite }) mesh1: Laya.Sprite; @propert...
来源: Laya3.0_文档 发布时间: 20251010
...Only exported Menu Globals "laya/resource/RenderTexture2D" RenderTexture2D Class RenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture RenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthStencilTexture...
来源: Laya3.0_api 发布时间: 20231115
...d Menu Globals "laya/resource/NativeRenderTexture2D" NativeRenderTexture2D Class NativeRenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture NativeRenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthSt...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames ConchVector3Properties | Methods | Constants Packagelaya.d3.math.NativeClasspublic class ConchVector3InheritanceConchVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties...
来源: Laya2.0_api 发布时间: 20190513
....3.X 2025-12-19 0 0 分享 微博 QZONE 微信 lv 赞同来自: const { regClass } = Laya; import { VideoRuntimeBase } from "./VideoRuntime.generated"; @regClass() export class VideoRuntime extends VideoRuntimeBase { onEnable(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN, () =>...
来源: Laya_社区 发布时间: 20251218
...,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private sMapRes = "remote/model/res/Conventional/map1.ls" private sBullRes = "remote/model/res/Conventional/bull....
来源: Laya_社区 发布时间: 20200720
... exported Menu Globals "laya/resource/RenderTextureCube" RenderTextureCube Class RenderTextureCube SpotLight 类用于创建RenderTextureCube。 Hierarchy RenderTexture RenderTextureCube Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget _r...
来源: Laya3.0_api 发布时间: 20231115
...ed Menu Globals "laya/d3/WebXR/core/WebXRRenderTexture" WebXRRenderTexture Class WebXRRenderTexture author miner 类用来创建WebXRRenderTexture Hierarchy RenderTexture WebXRRenderTexture Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget...
来源: Laya3.0_api 发布时间: 20231115
...就几个函数,自行扩展另说,拿我自己的先抛个砖declare class PomeloClient { init(params:any, cb?:Function); request(route:string, msg?:any, cb?:Function); notify(route:string, params:any); on(event:string, cb:Function); off(event:string, cb:Function); disconnect(); } 我也是初...
来源: Laya_社区 发布时间: 20180109
API DocumentationAll Packages | All Classes | Index | Frames No Frames HTMLDivElementProperties | Methods | Events Packagelaya.html.domClasspublic class HTMLDivElementInheritanceHTMLDivElement Sprite Node EventDispatcher ObjectSubclasses HTMLIframeElement HTML图文类,用于显示html...
来源: Laya2.0_api 发布时间: 20190513