大约有 1,447 项符合查询结果, 库内数据总量为 30,945 项。 (搜索耗时: 0.0066 秒)
Laya3.0_api(470) Laya_社区(445) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(61) laya_api(58)
...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
... : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //小游戏加载分包 Laya.loader.loadPackage("sub1", this.printProgr...
来源: Laya3.0_文档 发布时间: 20250103
...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_示例 发布时间: 20250325
...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
...方式显示开放域数据 Hierarchy UIComponent WXOpenDataViewer Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX ce...
来源: Laya3.0_api 发布时间: 20231102
...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_示例 发布时间: 20250325
...lla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite VideoNode 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
...Slider ScrollBar ComboBox ProgressBar TipManager OpenDataContextView 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