大约有 3,124 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)
...babel打包的js文件,项目编译会报错 SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' 而用webpack打包的话,编译不报错,运行时会报错: TypeError: Cannot read property 'bee' of undefined 附件 : --> LayaProtobufjsTest.zip 2019-02-28 添...
来源: Laya_社区 发布时间: 20190228
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/shape/MeshColliderShape" MeshColliderShape Class MeshColliderShape MeshColliderShape 类用于创建网格碰撞器。 Hierarchy ColliderShape MeshColliderShape Implements IClone Index C...
来源: Laya3.0_api 发布时间: 20231115
...rowser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Skeleton_SpineStretchyman { private mAniPath:string; private mStartX:number = 200; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private m...
来源: Laya_示例 发布时间: 20260824
... = Laya.Browser; import Handler = Laya.Handler; import Event = Laya.Event; export class InputDevice_Shake { private picW:number = 484; private picH:number = 484; private console:Text; private shakeCount:number = 0; constructor() { Laya.init(this.picW, Browser.height * this.picW / Browser.width); Lay...
来源: Laya_示例 发布时间: 20260824
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/models/SkyBox" SkyBox Class SkyBox SkyBox 类用于创建天空盒。 Hierarchy GeometryElement SkyBox Index Constructors constructor Properties _geometryElementOBj instance Accessors b...
来源: Laya3.0_api 发布时间: 20231115
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 使用钢体设置防穿后仍有几率会穿透 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 问题状态 最新活动: 2017-01-03 14:09 浏览: 2014 关注: 2 人 ...
来源: Laya_社区 发布时间: 20170103
...nt = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_NodeControl { private ape1: Sprite; private ape2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.AL...
来源: Laya2.0_示例 发布时间: 20260824
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 请问下加载TFF字体要怎么加载呢? new Laya.Sprite();绘制图形以后,怎么删...
来源: Laya_社区 发布时间: 20180426
...适用结尾为.skel的资源 import SpineSkeleton = Laya.SpineSkeleton; export class SpineBinary { private aniPath = "res/bone/spineboy-pma.skel"; private templet:SpineTemplet; private skeleton:SpineSkeleton; private index: number = -1; constructor() { Laya.init(Browser.width, Browser.height, WebGL...
来源: Laya2.0_示例 发布时间: 20260824
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/filters/ColorFilter" ColorFilter Class ColorFilter ColorFilter 是颜色滤镜。使用 ColorFilter 类可以将 4 x 5 矩阵转换应用于输入图像上的每个像素的 RGBA 颜色和 Alpha ...
来源: Laya3.0_api 发布时间: 20231115