大约有 3,124 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
...dler = Laya.Handler; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Interaction_Hold { private HOLD_TRIGGER_TIME: number = 1000; private apePath: string = "res/apes/monkey2.png"; //触发hold事件时间为1秒 private ape: Sprite; private isApeHold: Boolean; constructor() { // ...
来源: Laya2.0_示例 发布时间: 20260824
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/effect/EffectBase" EffectBase Class EffectBase 效果插件基类,基于对象池管理 Hierarchy Component EffectBase FadeIn FadeOut Index Constructors constructor Properties _extra _singleton a...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/scene/BVHSceneRenderManager/BVHRenderSpatialBox" BVHRenderBox Class BVHRenderBox<T> Type parameters T Hierarchy BVHSpatialBox<T> BVHRenderBox Index Constructors constructor Acce...
来源: Laya3.0_api 发布时间: 20231115
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 请问 《学习开发HTML5游戏《打地鼠》(LayaAir引擎)TS》的视频教程是否...
来源: Laya_社区 发布时间: 20180613
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/GradientSize" GradientSize Class GradientSize GradientSize 类用于创建渐变尺寸。 Hierarchy GradientSize Implements IClone Index Constructors constructor Acc...
来源: Laya3.0_api 发布时间: 20231115
... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Filters_Color { private ApePath: string = "../../res/apes/monkey2.png"; private apeTexture: Texture; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, ...
来源: Laya_示例 发布时间: 20260824
...。 示例代码如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { declare owner: Laya.Image; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { //需要先加载图集再使用,注意,图集要放到resources目...
来源: Laya3.0_文档 发布时间: 20251128
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/PostEffect/BloomEffect" BloomEffect Class BloomEffect BloomEffect 类用于创建泛光效果。 Hierarchy PostProcessEffect BloomEffect Index Constructors constructor Accessors acti...
来源: Laya3.0_api 发布时间: 20231115
...nt = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Scale { //上次记录的两个触模点之间距离 private lastDistance: number = 0; private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Brow...
来源: Laya_示例 发布时间: 20260824
...Laya.Keyboard; import TimeLine = Laya.TimeLine; import WebGL = Laya.WebGL; export class Tween_TimeLine { private target:Sprite; private timeLine:TimeLine = new TimeLine(); constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; La...
来源: Laya2.0_示例 发布时间: 20260824