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

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

201. laya.particle.ParticleTemplate2D_API3.0 [ 70%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/particle/ParticleTemplate2D" ParticleTemplate2D Class ParticleTemplate2D Hierarchy Resource ParticleTemplate2D Implements ISubmit Index Constructors constructor Properties _id destroyedImmediately ...

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

202. Spine适配版(TypeScript-LayaAir基础篇(TS)-动画基础) [ 70%]

...却可以在舞台上显示多个动画。 代码示例: ```typescript export class SpineBinary { private aniPath = "res/bone/spineboy-pma.skel"; private templet:Laya.SpineTempletBinary; private skeleton:Laya.SpineSkeleton; private index: number = -1; constructor() { Laya.init(Laya.Browser.width, ...

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

203. layawebview相关 [ 70%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 有没有Laya.Event.CLICK的相关说明文档 2.0下编译ts文件相关问题,论坛并没有明确的引入方案,小白就更...

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

204. 缓动-缓动函数演示 [ 69%]

...dler = Laya.Handler; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Tween_EaseFunctionsDemo { private character: Sprite; private duration: number = 2000; private tween: Tween; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV ...

来源: Laya2.0_示例 发布时间: 20260930

205. 缓动-缓动函数演示 [ 69%]

...dler = Laya.Handler; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Tween_EaseFunctionsDemo { private character: Sprite; private duration: number = 2000; private tween: Tween; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV ...

来源: Laya_示例 发布时间: 20260930

206. laya.resource.BaseTexture_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/BaseTexture" BaseTexture Class BaseTexture BaseTexture 纹理的父类,抽象类,不允许实例。 Hierarchy Resource BaseTexture NativeRenderTexture2D RenderTexture2D RenderTexture T...

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

207. 请问laya 能不能获取spine动画的关键帧? [ 69%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 从unity导出的场景透贴和模型烘焙的灯光不显示...

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

208. 参照技术文档自定义Shader写的TypeScript版本,运行后 Sprite 显示尺寸不对,帮忙看下哪里要调整? [ 69%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状态 最新活动: 2017-09-04 20:07 浏览: 2033 关注: 2 人 jxfcwys • 2017-09-04 17:33 乘上mmat也是一样显示尺寸不对,好像mmat没有起到效果 jxfcwys • 2017-09-05 12:47 好的,非...

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

209. safari横屏在一定条件下会出现显示内容错位问题。必现!! [ 69%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 问题状态 最新活动: 2017-08-09 17:54 浏览: 1624 关注: 4 人 Victor • 2017-08-10 09:34 @yung...

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

210. 2D物理-复合碰撞器 [ 69%]

...{ Label } from "laya/ui/Label"; import { Event } from "laya/events/Event"; export class Physics_Physics_Tumbler { private count = 0; private box: Sprite; private totalBox = 200; private label: Label; Main: typeof Main = null; constructor(maincls: typeof Main) { this.Main = maincls; Laya.Config.isAnt...

来源: Laya2.0_示例 发布时间: 20260930