• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)

6151. Laya.Loader.getRes("xxx.png")取出来的资源为什么是Texture2D,不是Texture [ 41%]

...,如何加入闪屏图片 斜角透视的感觉怎么弄出来呀?? new Laya.Sprite();绘制图形以后,怎么删除释放资源? 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 模型资源释放问题 分享:LayaAir下如何获取图集下的小图资源...

来源: Laya_社区 发布时间: 20200417

6152. Spine动画使用(JavaScript-LayaAir基础篇(JS)-动画基础) [ 41%]

...化舞台 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所示 ![动图8](img/8....

来源: Laya2.0_文档 发布时间: 20210715

6153. laya.d3.physics.shape.CylinderColliderShape_API3.0 [ 41%]

... clone cloneTo destroy updateLocalTransformations Constructors constructor new CylinderColliderShape(radius?: number, height?: number, orientation?: number): CylinderColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/CylinderColliderShape.ts:57 创建一个新的 Cyli...

来源: Laya3.0_api 发布时间: 20231115

6154. 如何获取animation的node节点? [ 41%]

...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

6155. laya.d3.graphics.IndexBuffer3D_API3.0 [ 41%]

...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

6156. laya.d3.physics.shape.CapsuleColliderShape_API3.0 [ 41%]

... 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

6157. laya.device.motion.Gyroscope_API3.0 [ 41%]

...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

6158. 如何将一段文字放置到粘贴板 , 或者说点击一个按钮后复制copy一段文字? [ 41%]

...叠 要回复问题请先登录 发起人 moketao 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 Dialog:屏蔽点击Dialog之外的区域关闭弹框 救命!canvas定位后 点击区域偏移,求大大们解答 求指点3d射线...

来源: Laya_社区 发布时间: 20170531

6159. laya.events.InputManager_API3.0 [ 41%]

...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

6160. laya.d3.physics.shape.ConeColliderShape_API3.0 [ 41%]

... 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