大约有 577 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0058 秒)
Laya_社区(298) Laya3.0_api(65) Laya2.0_api(58) laya_api(54) Laya2.0_示例(32) Laya_示例(31) Laya2.0_文档(26) Laya3.0_文档(13)
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 使用3D时候,Propert...
来源: Laya_社区 发布时间: 20190222
...ion () { LoadResource.prototype.init = function () { this._container = new Sprite(); Laya.stage.addChild(this._container); Laya.loader.load(["../bin/res/ui/progressBar.png", "../bin/res/ui/progressBar$bar.png"], Handler.create(this, this.onPreloaded)); }; LoadResource.prototype.onPreloaded = functio...
来源: Laya_社区 发布时间: 20200924
...器工具? 使用钢体设置防穿后仍有几率会穿透 如何设置Sprite的宽高和点击区域? Dialog关闭时如何向open他的页面传值? 请问laya里如何解析json,似乎和AS3的不太一样。 龙骨skeleton鼠标点击区域的设置 请问如何获取鼠标在某个元...
来源: Laya_社区 发布时间: 20190121
...s.img = new Laya.Image(); this.img.loadImage("url"); const mask = new Laya.Sprite(); mask.graphics.drawCircle(75, 75, 75, "#ffffff"); this.img.mask = mask; this.img.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.stage.addChild(this.img); 附件 : --> 2017-01-06 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20170106
...agelaya.d3.core.sceneClasspublic class VRSceneInheritanceVRScene BaseScene Sprite Node EventDispatcher Object VRScene 类用于实现VR场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为...
来源: laya_api 发布时间: 20170422
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...加 我使用的版本是1.7.12 测试代码如下:module Main { import Sprite = Laya.Sprite import Texture = Laya.Texture import Handler = Laya.Handler export class MaskDemo { private Res: string; private img: Laya.Image; constructor() { //Laya.init(400, 640, Laya.WebGL); //设置舞台背景色 ...
来源: Laya_社区 发布时间: 20171211
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...塔防游戏,分享给初学的朋友们(ts版本)《二》 为什么给Sprite容器添加点击事件没反应 分享一个TS版本的3D2D结合的单机斗地主Demo 一个时间轴动画里创建的多个动画,怎么分别调用?如图 请问下loader如何强制加载一个文件,避免...
来源: Laya_社区 发布时间: 20171220