• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 787 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0087 秒)

541. laya.ui.HScrollBar [ 53%]

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

542. 怎么对graphics画出来的图片进行鼠标点击拖动??? [ 53%]

....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

543. StaticModel_MeshSample例子运行不起来 [ 53%]

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

544. 照相机-3D空间转2D空间 [ 53%]

...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

545. [LayaAir2]在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 53%]

...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

546. laya.ui.Radio [ 53%]

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

547. localRotationEulerY旋转位置错误 [ 53%]

...建议用脚本方式实现,比如子弹脚本。  */ export default class GameUI extends ui.test.TestSceneUI {     private mat1: Laya.BlinnPhongMaterial;     private newScene: Laya.Scene3D;     private arr: any;     constructor() {         super();      ...

来源: Laya_社区 发布时间: 20201120

548. laya.ui.Tree [ 53%]

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

549. layaair 2.0 个人觉得编辑器【难用】的地方 [ 53%]

...。 1.谷歌浏览器跨域问题。 我新建空项目,新场景,新class,使用谷歌浏览器调试,会报错跨域,找了半天项目设置,社区里也找了没找到为什么。但是我新建3D事例项目,却正常,并没有跨域问题,对比半天两个项目的文件差...

来源: Laya_社区 发布时间: 20190328

550. laya.ui.ColorPicker [ 53%]

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