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

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

1001. laya.device.media.HtmlVideo_API3.0 [ 50%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/media/HtmlVideo" HtmlVideo Class HtmlVideo html多媒体数据 Hierarchy Bitmap HtmlVideo Index Constructors constructor Properties destoryedImmediately lock name url uuid video DEBUG Access...

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

1002. swf在layaairts里播放的问题,播放不了,swf在群文件star.swf [ 50%]

...mport Loader = Laya.Loader;     import Handler = Laya.Handler;     export class Loader_MultipleType {         private ROBOT_DATA_PATH: string = "res/swf/star.swf"; private ROBOT_DATA_PATHS: string = "res/swf/star.json";         private ROBOT_TEXTURE_PATH: string = "res/swf/st...

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

1003. laya 的list组件,如果有多页信息,怎么实现翻页丫?? [ 50%]

...onfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new L...

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

1004. 混合模式-Lighter [ 50%]

...dler = Laya.Handler; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class BlendMode_Lighter { // 一只凤凰的分辨率是550 * 400 private phoenixWidth: number = 550; private phoenixHeight: number = 400; private bgColorTweener: Tween = new Tween(); private gradientInterval: number =...

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

1005. 鼠标交互-鼠标交互 [ 50%]

...nt = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Mouse { private txt: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.ali...

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

1006. laya.spine.SpineTemplet_API3.0 [ 50%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/spine/SpineTemplet" SpineTemplet Class SpineTemplet Spine动画模板基类 Hierarchy Resource SpineTemplet Index Constructors constructor Properties _id destroyedImmediately lock name skeletonData...

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

1007. Cannot read property 'rayCast' of undefined [ 50%]

Cannot read property 'rayCast' of undefined export default class indexscene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let conf...

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

1008. 发现bug,update大问题!!!!!!!!! 2.13版本 [ 50%]

..."; import Const from "../Const"; import UIMain from "../ui/Game/UIMain";  export default class GameWnd extends BaseWin {     public view: UIMain;     /** 角色 */     private character: Laya.Sprite     /** 角色刚体*/     private rig: Laya.RigidBody     /** 医疗包*/     private...

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

1009. 怎么对graphics画出来的图片进行鼠标点击拖动??? [ 50%]

... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Interaction_Drag { private ApePath: string = "../laya/monkey2.png"; private ape: Sprite; private dragRegion: Rectangle; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Bro...

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

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

...却可以在舞台上显示多个动画。 代码示例: ```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