大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0059 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...nction TestScene() { TestScene.super(this); } Laya.class(TestScene,"TestScene",_super); return TestScene; }(ui.TestViewUI)); 1.1创建好ui后,导出,再自己创建个脚本,粘贴上上面的代码,ui.TestViewUI 这个是你创建UI时取的名字+UI 2....
来源: Laya_社区 发布时间: 20180522
API DocumentationAll Packages | All Classes | Index | Frames No Frames LightSpriteProperties | Methods | Events Packagelaya.d3.core.lightClasspublic class LightSpriteInheritanceLightSprite Sprite3D Node EventDispatcher ObjectSubclasses DirectionLight, PointLight, SpotLight LightSprite 类...
来源: Laya2.0_api 发布时间: 20190513
...te3D.instantiate(layaMonkey, null, false, new Laya.Vector3(-0.6, 0, 0))); }class Sprite3DClone { private scene: Laya.Scene; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; this.scene = new Laya.Scene(); Laya.stage...
来源: Laya_示例 发布时间: 20250223
....utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class GraCmdsDemo { public function GraCmdsDemo() { //初始化舞台 Laya.init(Browser.width,Browser.height,WebGL); //预加载资源 Laya.loader.load(['apes/monkey0.png','apes/monkey1.png','apes/monkey2.png','apes/monkey3.p...
来源: Laya_社区 发布时间: 20170519
...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 怎么用clip实现数字滚动效果? IDE中选中字符串大小写转换快捷键 如何截取小数点之前的数字 HttpRequest无法发送除字符串以外的数据 请问Texture2D如何用base64字符...
来源: Laya_社区 发布时间: 20161228
...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 问题状态 最新活动: 2019-05-10 15:33 浏览: 1267 关注: 2 人
来源: Laya_社区 发布时间: 20190109
...题。 2018-05-08 0 0 分享 微博 QZONE 微信 Miller 赞同来自: class Item extends Laya.Box { public static WID: number = 600; public static HEI: number = 85; private img: Laya.Image; //private text: Laya.Label; constructor(){ super(); this.size(Item.WID, Item.HEI); this...
来源: Laya_社区 发布时间: 20180507
...。需要添加如下的示例代码,实现脚本控制Tab: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Tab }) public tab: Laya.Tab; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只...
来源: Laya3.0_文档 发布时间: 20240910
... Menu Globals "laya/d3/WebXR/core/WebXRSessionManager" WebXRSessionManager Class WebXRSessionManager Manages an XRSession to work with layaAir engine author miner Hierarchy EventDispatcher WebXRSessionManager Index Properties baseReferenceSpace currentFrame currentTimestamp defaultHeightCompensation...
来源: Laya3.0_api 发布时间: 20231115
...接 提交 2 个回复 tea 赞同来自: 不清楚为啥 export default class gameMain extends ui.test.gameMain 这样也不行 2018-11-15 0 0 分享 微博 QZONE 微信 lsx968542 赞同来自: 是不是没有导入文件 import { ui } from "./ui/layaMaxUI"; 2018-11-16 0 1 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20181115