大约有 1,443 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0071 秒)
Laya3.0_api(470) Laya_社区(443) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(59) laya_api(58)
...er椎体长度。radiusproperty public var radius:Number发射器半径。Constructor DetailConeShape()Constructorpublic function ConeShape() 创建一个 ConeShape 实例。 Method Detail_getShapeBoundBox()methodoverride protected function _getShapeBoundBox(boundBox:BoundBox):void Parameters bound...
来源: Laya2.0_api 发布时间: 20190513
...,测试代码如下 export default class ClipView extends Laya.Sprite { constructor() { super(); this.init(); } init() { let bg = new Laya.Sprite(); bg.graphics.drawRect(0, 0, 500, 500, '#aaa'); this.addChild(bg); this.panel = new Laya.Panel(); this.panel.width = 500; this.panel.height = 500; this...
来源: Laya_社区 发布时间: 20210427
..../ui/layaMaxUI"; export default class ShopDialog extends ui.ShopDialogUI { constructor() { super(); this.popupEffect = Laya.Handler.create(this, this.showEffect); this.closeEffect = Laya.Handler.create(this, this.hideEffect); this.btnClose.on(Laya.Event.CLICK, this, this.closeDialog); } //关闭 clo...
来源: Laya_社区 发布时间: 20190121
...,"height":67},"compId":3}],"loadList":["comp/label.png"],"loadList3D":[]}; constructor(){ super()} createChildren():void { super.createChildren(); this.createView(HelloUI.uiView); } } REG("ui.HelloUI",HelloUI); } 附件 : --> TestDemo.zip 2019-06-25 2 条评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20190625
... class CollisionBoll extends Laya.Sprite { private _boll1:Laya.Sprite; constructor() { super(); //物理模块 this._boll1 = new Laya.Sprite(); this.addChild(this._boll1); this._boll1.x = 20; this._boll1.loadImage('comp/btn_close.png'); let box:laya.physics.BoxCollider = this._boll1.addComponent(...
来源: Laya_社区 发布时间: 20190428
... miner 类用于创建WebXR摄像机。 Hierarchy Camera WebXRCamera Index Constructors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTF...
来源: Laya3.0_api 发布时间: 20231115
...private mFontName:string = "diyFont"; private mBitmapFont:Laya.BitmapFont; constructor() { Laya.init(600,400); this.mBitmapFont = new Laya.BitmapFont(); this.mBitmapFont.loadFont("../laya/assets/txt.fnt", new Laya.Handler(this.onLoaded)); } private onLoaded():void { this.init(); } private init():voi...
来源: Laya_社区 发布时间: 20171028
...r: 99, g: 0, b: 0xFF }, gradientInterval = 2000; class BlendMode_Lighter { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite, Tween = Laya.Tween; // 不支持WebGL时自动切换至Canvas Laya.init(phoenixWidth * 2, phoenixHe...
来源: Laya2.0_示例 发布时间: 20241002
...tproperty public var getContext:Function 获取 Canvas 渲染上下文。 Constructor DetailHTMLCanvas()Constructorpublic function HTMLCanvas(type:String) 根据指定的类型,创建一个 HTMLCanvas 实例。请不要直接使用 new HTMLCanvas! Parameters type:String — 类型。2D、3D。 ...
来源: laya_api 发布时间: 20170929
...Dictionary()的时候。组件拖动到界面会报错 Dictionary is not a constructor 2017-09-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: 目前IDE中没有Dictionary类...
来源: Laya_社区 发布时间: 20170913