大约有 426 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0088 秒)
...import { VideoRuntimeBase } from "./VideoRuntime.generated"; @regClass() export class VideoRuntime extends VideoRuntimeBase { onEnable(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN, () => { //Laya.loader.load("resources/files/layaAir.mp4").then(() => { ...
来源: Laya_社区 发布时间: 20251218
...) 示例代码如下: const { regClass, property } = Laya; @regClass() export class ScriptA extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); } onStart(): void { //加载预制体文件 Laya.loader.load("resourc...
来源: Laya3.0_文档 发布时间: 20251105
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/media/SoundNode" SoundNode Class SoundNode 用于播放背景音乐或者音效的节点 Hierarchy Sprite SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/PBRStandardMaterial" PBRStandardMaterial Class PBRStandardMaterial PBRStandardMaterial 类用于实现PBR材质。 Hierarchy PBRMaterial PBRStandardMaterial Implements IClone Index...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeTransform3D" NativeTransform3D Class NativeTransform3D Transform3D 类用于实现3D变换。 Hierarchy Transform3D NativeTransform3D Index Constructors constructor Pr...
来源: Laya3.0_api 发布时间: 20231115
...效的基类,包括创建,播放,暂停,销毁,清理对象池 export class Particle3D extends Sprite3D { private _isInited: boolean = false; private _filePath: string = null; private _particle: Laya.Sprite = null; private _shuriKenParticle3D: Array<ShuriKenParticle3D>= []; private _...
来源: Laya3.0_文档 发布时间: 20251010
...效的基类,包括创建,播放,暂停,销毁,清理对象池 export class Particle3D extends Sprite3D { private _isInited: boolean = false; private _filePath: string = null; private _particle: Laya.Sprite = null; private _shuriKenParticle3D: Array<ShuriKenParticle3D>= []; private _...
来源: Laya3.0_文档 发布时间: 20250104
...,脚本代码如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } event1(p1:any, p2:any): void { console.log("event1",p1,p2); } } 在脚本中创建event1的方法和接收两个参数,最...
来源: Laya3.0_文档 发布时间: 20260128
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/EffectAnimation" EffectAnimation Class EffectAnimation 动效模板。用于为指定目标对象添加动画效果。每个动效有唯一的目标对象,而同一个对象可以添加...
来源: Laya3.0_api 发布时间: 20231115
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/html/dom/HTMLIframeElement" HTMLIframeElement Class HTMLIframeElement iframe标签类,目前用于加载外并解析数据 Hierarchy HTMLDivElement HTMLIframeElement Index Constructors constructo...
来源: Laya3.0_api 发布时间: 20231102