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

大约有 438 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0078 秒)

261. laya.display.Stage_API3.0 [ 53%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...

来源: Laya3.0_api 发布时间: 20231115

262. laya.ui.OpenDataContextView_API3.0 [ 53%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...

来源: Laya3.0_api 发布时间: 20231115

263. laya.ui.TipManager_API3.0 [ 53%]

...de bottom cacheAs centerX centerY components customRenderEnable dataSource defaultTipHandler destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mous...

来源: Laya3.0_api 发布时间: 20231115

264. laya.ui.ViewStack_API3.0 [ 53%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...

来源: Laya3.0_api 发布时间: 20231115

265. laya.resource.HTMLCanvas_API3.0 [ 53%]

...ts:59 根据指定的类型,创建一个 HTMLCanvas 实例。 Parameters Default value createCanvas: boolean = false Returns HTMLCanvas Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Inherited fr...

来源: Laya3.0_api 发布时间: 20231115

266. Laya3D场景加载问题 [ 52%]

...场景加载问题 测试内容:加载3D场景   代码如下: export default class TestUI extends ui.test.TestSceneUI {     private resource: Array<String> = [         "gate/Conventional/Test.ls",     ];     constructor() { super(); }     onAwake(): void {         Laya.lo...

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

267. 这种进度条怎么实现? [ 52%]

...ZONE 微信 Barry Allen 赞同来自:  import Sprite = Laya.Sprite export default class Test extends Sprite{ public DEF_SIZE: number = 200 public CIRCLE_WIDTH: number = 20 public $circleSprite: Sprite = new Sprite() public startY: number = -90 constructor() { super() this._init() } private _init() ...

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

268. 为什么创建的脚本 变量在编辑模式赋值后 运行时为undfined [ 52%]

...名的无头像者 • 2018-10-24 18:14 写一个ts文件,写上 export default class Move extends Laya.Script{ /** @prop {name:target,tips:"目标容器",type:Prefab}*/ targetPrefab:Laya.Prefab; } 将文件在编辑模式下赋给点添加组件=》code=》move 然后创建一个box拖...

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

269. 3D场景中背景无法透明,版本2.7.1 [ 52%]

...版本2.7.1 版本为2.7.1,无法背景透明,永远是黑色 export default class GameUI extends Laya.Scene { constructor() { super(); Config.isAlpha = true; Laya.init(480, 900); Laya.stage.bgColor = null; //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene =...

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

270. laya.d3.core.scene.Scene3D_API3.0 [ 52%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...

来源: Laya3.0_api 发布时间: 20231115