大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)
Laya_社区(5247) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(105) Laya2.0_api(67) laya_api(64)
...,如何加入闪屏图片 斜角透视的感觉怎么弄出来呀?? new Laya.Sprite();绘制图形以后,怎么删除释放资源? 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 模型资源释放问题 分享:LayaAir下如何获取图集下的小图资源...
来源: Laya_社区 发布时间: 20200417
...化舞台 Laya.init(1334,750); //创建一个Skeleton对象 var skeleton = new Laya.Skeleton(); //添加到舞台 Laya.stage.addChild(skeleton); skeleton.pos(600,700); //通过加载直接创建动画 skeleton.load("res/spine/spineboy/spineboy.sk"); ``` 运行效果如动图8所示 : CylinderColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/CylinderColliderShape.ts:57 创建一个新的 Cyli...
来源: Laya3.0_api 发布时间: 20231115
...rray = []; for(let i in aniProps.mc[options.srcName].frames) { let skill = new Laya.Sprite(); // 创建一个用于存放位图数组的临时精灵 let texture = Laya.loader.getRes(options.srcPath+options.srcName+".png"); // 读取图集生成大切片 let textureIns = Laya.Texture.create(texture, ...
来源: Laya_社区 发布时间: 20190215
...hods _setIndexData destroy getData setData unbind Constructors constructor new IndexBuffer3D(indexType: IndexFormat, indexCount: number, bufferUsage?: BufferUsage, canRead?: boolean): IndexBuffer3D Overrides IndexBuffer.constructor Defined in laya/d3/graphics/IndexBuffer3D.ts:38 创建一个 IndexBu...
来源: Laya3.0_api 发布时间: 20231115
... clone cloneTo destroy updateLocalTransformations Constructors constructor new CapsuleColliderShape(radius?: number, length?: number, orientation?: number): CapsuleColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/CapsuleColliderShape.ts:60 创建一个新的 Capsule...
来源: Laya3.0_api 发布时间: 20231115
...event hasListener off offAll offAllCaller on once Constructors constructor new Gyroscope(singleton: number): Gyroscope Defined in laya/device/motion/Gyroscope.ts:36 实例化一个Gyroscope Parameters singleton: number Returns Gyroscope Accessors Static instance get instance(): Gyroscope Defined in ...
来源: Laya3.0_api 发布时间: 20231115
...叠 要回复问题请先登录 发起人 moketao 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 Dialog:屏蔽点击Dialog之外的区域关闭弹框 救命!canvas定位后 点击区域偏移,求大大们解答 求指点3d射线...
来源: Laya_社区 发布时间: 20170531
...eTouch hitTest cancelClick getTouchPos hasKeyDown Constructors constructor new InputManager(): InputManager Defined in laya/events/InputManager.ts:48 Returns InputManager Properties Static clickTestThreshold clickTestThreshold: number = 10 Defined in laya/events/InputManager.ts:26 如果鼠标按下...
来源: Laya3.0_api 发布时间: 20231115
... clone cloneTo destroy updateLocalTransformations Constructors constructor new ConeColliderShape(radius?: number, height?: number, orientation?: number): ConeColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/ConeColliderShape.ts:47 创建一个新的 ConeColliderShap...
来源: Laya3.0_api 发布时间: 20231115