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

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

231. 网格像素线 · LayaAir3.4 · 引擎文档 · LAYABOX [ 48%]

...例。 * @param maxCount 最大线段数量。 * @param name 名字。 */ constructor(maxCount: number = 2, name: string = null) { super(name); this._render = this.addComponent(PixelLineRenderer); this._geometryFilter = (this._render as PixelLineRenderer)._pixelLineFilter; (this._render as PixelLine...

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

232. laya.ui.MoreGame [ 48%]

...闭盒子回调isShowproperty public var isShow:Boolean是否在显示中Constructor DetailMoreGame()Constructorpublic function MoreGame(type:int = 0) Parameters type:int (default = 0)Method Detaildispose()method public function dispose():void销毁插件getDateFormatStr()method  public static fun...

来源: Laya2.0_api 发布时间: 20190513

233. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 47%]

...onal/bull.lh" private sEnemyRes = "remote/model/res/Conventional/man_1.lh" constructor() { super(); let self = this; Util3d.loadRes( [ this.sMapRes, this.sBullRes, this.sEnemyRes ], function (bIsFinish) { if (bIsFinish) { self.onResFinish(); } } ) } onResFinish() { let pNewScene = <Laya.Scene3D&g...

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

234. 自定义shader-边缘光照shader [ 47%]

..., uniformMap); }class Shader_GlowingEdge { private rotation: Laya.Vector3; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.initShader(); var scene: Laya.Scene = Laya.stage.addChild(new Laya....

来源: Laya_示例 发布时间: 20260818

235. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

...ort class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let opendata = new Laya.OpenDataContextView(); Laya.stage.addChild(open...

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

236. laya.display.Node [ 47%]

... 获得所属场景。 Implementation     public function get scene():*Constructor DetailNode()Constructorpublic function Node()Method DetailaddChild()method public function addChild(node:Node):Node 添加子节点。 Parameters node:Node — 节点对象 ReturnsNode — 返回添加的节点 ad...

来源: Laya2.0_api 发布时间: 20190513

237. laya.display.Sprite_API3.0 [ 47%]

... Particle2D PhysicsDebugDraw SpineSkeleton UIComponent DialogManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blen...

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

238. 动画实例在调用含有名字参数的时候获取不到边界 [ 47%]

...; private playerUnit:Laya.Animation[]; private enemyUnit:Laya.Animation[]; constructor(){ super(); Laya.stage.alignH= Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; } onEnable(){ this.playerUnit = []; this.enemyUnit = []; this.playerUnit.push(new Laya.Animation()); this.enemyU...

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

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

...DialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rul...

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

240. laya.ui.View_API3.0 [ 46%]

...所以在3.0里请忽略这个继承。 Hierarchy Scene View Dialog Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet activ...

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