大约有 631 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0054 秒)
Laya3.0_api(176) Laya_社区(163) Laya2.0_api(99) laya_api(85) Laya2.0_文档(70) Laya3.0_文档(22) Laya2.0_示例(9) Laya_示例(7)
...弹出一个对话框,对话框里面展示 Hello World!export default class HelloWorld extends Laya.Scene { constructor() { super(); HelloWorld.instance = this; } onBtnShowClick(){ var dialog = new Laya.Dialog(); dialog.width=300; dialog.height=600; //var bg = new Laya.Image('comp/img_bg.png'); /...
来源: Laya_社区 发布时间: 20190117
API DocumentationAll Packages | All Classes | Index | Frames No Frames TrailMaterialProperties | Methods | Constants Packagelaya.d3.core.trailClasspublic class TrailMaterialInheritanceTrailMaterial BaseMaterial laya.resource.Resource TrailMaterial 类用于实现拖尾材质。 Public Prop...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames EffectMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class EffectMaterialInheritanceEffectMaterial BaseMaterial laya.resource.Resource EffectMaterial 类用于实现Mesh特效材质。 ...
来源: Laya2.0_api 发布时间: 20190513
...?代码如下: /**Created by the LayaAirIDE*/ module view { export class Guide extends ui.GuideUI { constructor() { super(); // 创建Video元素 let videoElmt: any = Laya.Browser.createElement("video"); Laya.Browser.document.body.appendChild(videoElmt); // 设置Video元素地样式和属性...
来源: Laya_社区 发布时间: 20180802
API DocumentationAll Packages | All Classes | Index | Frames No Frames ShurikenParticleMaterialProperties | Methods | Constants Packagelaya.d3.core.particleShuriKenClasspublic class ShurikenParticleMaterialInheritanceShurikenParticleMaterial BaseMaterial laya.resource.Resource ShurikenPart...
来源: Laya2.0_api 发布时间: 20190513
...nherited Externals Only exported Menu Globals "laya/d3/core/Camera" Camera Class Camera Camera 类用于创建摄像机。 Hierarchy BaseCamera Camera WebXRCamera Index Constructors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag ...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames MoreGameProperties | Methods | Events Packagelaya.uiClasspublic class MoreGameInheritanceMoreGame View Scene Sprite Node EventDispatcher Object 游戏中心插件 Public Properties Hide Inherited Public Properties Show ...
来源: Laya2.0_api 发布时间: 20190513
...建好了UI组件脚本,而后添加的代码如下所示: const { regClass } = Laya; import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { // Button添加鼠标事件,让Image不显示 this.Button.on...
来源: Laya3.0_文档 发布时间: 20241014
API DocumentationAll Packages | All Classes | Index | Frames No Frames Particle2DProperties | Methods | Events Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public...
来源: Laya2.0_api 发布时间: 20190513
...m3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的世界中非常的重要,所有有关显示对象变化的都会用到他。 在示例代码中已经用到了移动(translate),旋转(rotate)这两种变换,并且...
来源: Laya2.0_文档 发布时间: 20210715