大约有 1,102 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0062 秒)
Laya_社区(444) Laya3.0_api(292) Laya_示例(112) Laya2.0_示例(80) Laya2.0_文档(61) Laya3.0_文档(51) Laya2.0_api(35) laya_api(27)
...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
...der,SpineSkeleton三部分组成。 Hierarchy Sprite SpineSkeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag PAUSED PLAYING STOPPED drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alp...
来源: Laya3.0_api 发布时间: 20231115
...10, 500, 0); private _translate: Laya.Vector3 = new Laya.Vector3(0, 0, 0); constructor() { Laya3D.init(1024, 768, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_HEIGHT; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var dialog: Laya.Image = Laya.stage.addChild(new Laya.Image...
来源: Laya_示例 发布时间: 20250226
...e ray:Laya.Ray; /*碰撞检测信息*/ private outHitInfo:Laya.RaycastHit; constructor() { super(); this.ray = new Laya.Ray(new Laya.Vector3(0,0,0),new Laya.Vector3(0,-2,0)); this.outHitInfo = new Laya.RaycastHit(); } /*覆写3D组件方法,指3D对象加载组件时执行 *owner:此组件所属...
来源: Laya_社区 发布时间: 20171113
...ublic static PROTO_STRING_VALUE: string = "proto_ParamsProto"; constructor() { // Pool.recover(ProtoPool.PROTO_HEAD, new com.bigao.h5.proto.Head()); // Pool.recover(ProtoPool.PROTO_BINARY_REQUEST, new com.bigao.h5.proto.BinaryRequest()); ...
来源: Laya_社区 发布时间: 20170807
...ex"); public readonly Time:number = Shader3D.propertyNameToID("u_Time"); constructor() { super(); var vs:string = ` attribute vec4 a_Position; attribute vec2 a_Textcoord; attribute vec3 a_Normal; uniform mat4 u_WorldMat; uniform mat4 u_MvpMatrix; varying vec2 v_textcoord; varying vec3 v_norma...
来源: Laya_社区 发布时间: 20190923
...还是报错StarPoker.max.js:6903 Uncaught TypeError: Rectangle is not a constructor 2017-11-28 0 0 分享 微博 QZONE 微信 lidd_123 赞同来自: mac 升级 为 high sierra 后运行出错 这个在新版本里没有解决啊 2017-11-28 0 0 分享 微博 QZONE 微信 matrixQ 赞同来自: 今天...
来源: Laya_社区 发布时间: 20171113
...nIndex:number = 0; private mFactory2:Templet; private mLabelSprite:Sprite; constructor() { Laya.init(Browser.width, Browser.height,WebGL); Laya.stage.bgColor = "#ffffff"; Stat.show(); this.mLabelSprite = new Sprite(); this.startFun(); } public startFun():void { this.mAniPath = "../../res/spine/spine...
来源: Laya_示例 发布时间: 20250226
...imationPlayer,Skeleton三部分组成。 Hierarchy Sprite Skeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniM...
来源: Laya3.0_api 发布时间: 20231115
...hold事件时间为1秒 private ape: Sprite; private isApeHold: Boolean; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "show...
来源: Laya_示例 发布时间: 20250226