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

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

261. laya.d3.shader.Shader3D_API3.0 [ 53%]

...预编译shader文件,主要是处理宏定义 Parameters name: string Default value attributeMap: any = null Default value uniformMap: any = null Default value enableInstancing: boolean = false Default value supportReflectionProbe: boolean = false Returns Shader3D Static addInclude addInclude(fil...

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

262. 请问laya有没有类似翻页容器(pageView)的组件? [ 53%]

...fo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Han...

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

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

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

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

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

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

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

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

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

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

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

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

268. Spine渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

..."spine4.1/role.json"; // 设置Spine动画数据源 this.spine.skinName = "default"; // 设置皮肤名称 this.spine.play("att", true); // 播放名称为"att"的攻击动画,true表示循环播放 this.btn.on(Laya.Event.CLICK, this, this.changeAttachment); //监听点击事件,触发切换武...

来源: Laya3.0_文档 发布时间: 20251128

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

270. 这种进度条怎么实现? [ 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