大约有 1,253 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0052 秒)
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/GearJoint" GearJoint Class GearJoint 齿轮关节:用来模拟两个齿轮间的约束关系,齿轮旋转时,产生的动量有两种输出方式,一种是齿轮本身的角...
来源: Laya3.0_api 发布时间: 20231115
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状态 最新活动: 2018-05-02 12:12 浏览: 3255 关注: 3 人 charley • 2018-05-02 12:26 要仔细看文档 qulinke1230 • 2018-04-30 21:09 我今天试了下也是一样的,一头雾水 charley • ...
来源: Laya_社区 发布时间: 20180428
...rowser; import WebGL = Laya.WebGL; import Rectangle = laya.maths.Rectangle export class Interaction_Scale { constructor() { Laya3D.init(640, 1136, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; // Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; this.camera =...
来源: Laya_社区 发布时间: 20170321
同步龙骨插槽动画方案 Laya Ver2.1.1 export class MSketon { private mFactory: Laya.Templet; public mArmature: Laya.Skeleton private _handler: Laya.Handler; constructor(url: string, handler: Laya.Handler, aniMode: number = 0) { ...
来源: Laya_社区 发布时间: 20200618
...ge = Laya.Stage; import HitArea = Laya.HitArea; import WebGL = Laya.WebGL; export class Sprite_Guide { private red:Sprite; private guideContainer:Sprite; private tipContainer:Sprite; private guideSteps:Array = [ { x: 151, y: 575, radius:150, tip:"res/guide/help6.png", tipx:200, tipy:250 }, { x: 883,...
来源: Laya2.0_示例 发布时间: 20250220
...Array; Laya.stage.addChild(storeTxList); 悬赏找大神看问题 export default class StoreItem extends Laya.Box { constructor() { super(); this.size(195, 210); } } 附件 : --> ListDemo.zip 2019-07-11 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20190711
... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Interaction_Drag { private ApePath: string = "../../res/apes/monkey2.png"; private ape: Sprite; private dragRegion: Rectangle; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWid...
来源: Laya_示例 发布时间: 20250220
...码是配套的,不同开放域代码请勿使用该类 */ export class WXBitmap extends Laya.Sprite { private $viewName: string; private $texture: Laya.Texture; private $bitmap: any; private $timer: lie.Timer; public auto: ...
来源: Laya_社区 发布时间: 20181114
...2019-08-13 17:34 浏览: 2123 关注: 3 人 ageazrael • 2020-04-20 15:06 export class XClass { public get XValue(): number { return 100; } public set XValue(v: number) { console.log(v); } } var x = new XClass(); x["XValue"] = 100; 你运行一下看看呢、这能覆盖函数吗? ageaz...
来源: Laya_社区 发布时间: 20190803
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 请问下怎么引入第三方库 请问laya里如何解析json,似乎和AS3的不太一样。 请问一下 ProtoBuf 支持 as3 版本吗? 问题状态 最新活动: 2019-05-16 14:57 浏览: 581 关注: 2 人 ...
来源: Laya_社区 发布时间: 20190515