大约有 787 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0087 秒)
Laya_社区(386) Laya2.0_文档(85) Laya3.0_api(74) Laya2.0_api(66) laya_api(63) Laya3.0_文档(54) Laya_示例(32) Laya2.0_示例(27)
API DocumentationAll Packages | All Classes | Index | Frames No Frames HScrollBarProperties | Methods | Events Packagelaya.uiClasspublic class HScrollBarInheritanceHScrollBar ScrollBar UIComponent Sprite Node EventDispatcher Object 使用 HScrollBar (水平 ScrollBar )控件,可以...
来源: Laya2.0_api 发布时间: 20190513
....Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Interaction_Drag { private ApePath: string = "../laya/monkey2.png"; private ape: Sprite; private dragRegion: Rectangle; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.cl...
来源: Laya_社区 发布时间: 20171106
StaticModel_MeshSample例子运行不起来 class StaticModel_MeshSample { constructor() { Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); ...
来源: Laya_社区 发布时间: 20161201
...outPos.x / Laya.stage.clientScaleX, _outPos.y / Laya.stage.clientScaleY); }class D3SpaceToD2Space { private scene: Laya.Scene; private camera: Laya.Camera; private layaMonkey3D: Laya.Sprite3D; private layaMonkey2D: Laya.Image; private _position: Laya.Vector3; private _outPos: Laya.Vector3; private s...
来源: Laya_示例 发布时间: 20251218
...deo播放视频 * @ author:xs * @ data: 2024-03-05 16:20 */ export default class VideoDom { htmlvideo:Laya.HtmlVideo; constructor() { Laya.stage.on(Laya.Event.CLICK,this,this.onClick); } onClick(){ this.initVideo(); } initVideo() { this.htmlvideo = new Laya.HtmlVideo(); this.htmlvideo.setSource("htt...
来源: Laya_社区 发布时间: 20240305
API DocumentationAll Packages | All Classes | Index | Frames No Frames RadioProperties | Methods | Events Packagelaya.uiClasspublic class RadioInheritanceRadio Button UIComponent Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择...
来源: Laya2.0_api 发布时间: 20190513
...建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private arr: any; constructor() { super(); ...
来源: Laya_社区 发布时间: 20201120
API DocumentationAll Packages | All Classes | Index | Frames No Frames TreeProperties | Methods | Events Packagelaya.uiClasspublic class TreeInheritanceTree Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次...
来源: Laya2.0_api 发布时间: 20190513
...。 1.谷歌浏览器跨域问题。 我新建空项目,新场景,新class,使用谷歌浏览器调试,会报错跨域,找了半天项目设置,社区里也找了没找到为什么。但是我新建3D事例项目,却正常,并没有跨域问题,对比半天两个项目的文件差...
来源: Laya_社区 发布时间: 20190328
API DocumentationAll Packages | All Classes | Index | Frames No Frames ColorPickerProperties | Methods | Events Packagelaya.uiClasspublic class ColorPickerInheritanceColorPicker UIComponent Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,...
来源: Laya2.0_api 发布时间: 20190513