大约有 1,176 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0151 秒)
... if (this.href){ var tSprite=new Sprite(); this.addChild(tSprite); tHTMLChar.setSprite(tSprite); } } return words; } ...
来源: Laya_社区 发布时间: 20180517
... Victor 赞同来自: transformPoint(globalPoint:Laya.Point,localSp:Laya.Sprite):Laya.Point{ return localSp.globalToLocal(globalPoint,true); }globalPoint: 绿色框的坐标 -- 舞台中央坐标(Laya.stage.width*.5,Laya.stage.height*.5) localSp:黑框容器对象 直接带入上面方法即可...
来源: Laya_社区 发布时间: 20180502
... export class GmPanelUI extends Laya.Base { public bg:Laya.Sprite; public input:Laya.TextInput; public btnSend:Laya.Button; public btnClose:Laya.Button; constructor(){ super()} createChildren():void { ...
来源: Laya_社区 发布时间: 20190128
... LayaNative 热更 LayaAirIDE1.7.17 版本,LayaNative下面 Stat统计的sprite数量不准,误将sprite.visible=false的对像也统计进去了,网页端就没有问题 问题状态 最新活动: 2019-07-22 18:29 浏览: 1272 关注: 2 人 邓群豪 • 2019-07-22 18:20 很久没有登陆社...
来源: Laya_社区 发布时间: 20190103
...src='res/boy.png'></img>"; */ export class HTMLDivElement extends Sprite { 下面我们通过一些示例代码来看看运行效果: 3.1 同一个文本中设置Bold、Font、FontSize、Color、下划线 【注意:目前不支持斜体、描边、span标签内嵌的方式】 示例如...
来源: Laya3.0_文档 发布时间: 20230303
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不...
来源: Laya_社区 发布时间: 20200604
...平面 var plane = this.newScene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10))) as Laya.MeshSprite3D; var planeMat = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/grass.png", Laya.Handler.create(...
来源: Laya_社区 发布时间: 20201120
....TiledMap; var Rectangle = Laya.Rectangle; var Handler = Laya.Handler; var Sprite = Laya.Sprite; var MapLayer = Laya.MapLayer; Laya.init(800, 800); var map1 = new TiledMap(); map1.createMap("res/maps/scence1.json",new Rectangle(0,0,800, 800),Handler.create(this,onMapLoaded)); function onMapLoaded(){...
来源: Laya_社区 发布时间: 20180326
...码请勿使用该类 */ export class WXBitmap extends Laya.Sprite { private $viewName: string; private $texture: Laya.Texture; private $bitmap: any; private $timer: lie.Timer; public auto: boolean = true; // 仅在未加...
来源: Laya_社区 发布时间: 20181114
...有的uniform属性 var uniformMap = { 'u_MvpMatrix': Laya.Shader3D.PERIOD_SPRITE, 'u_WorldMat': Laya.Shader3D.PERIOD_SPRITE, 'u_OutlineWidth': Laya.Shader3D.PERIOD_MATERIAL, 'u_OutlineLightness': Laya.Shader3D.PERIOD_MATERIAL, 'u_OutlineColor': Laya.Shader3D.PERIOD_MATERIAL, 'u_AlbedoTexture': Laya...
来源: Laya2.0_文档 发布时间: 20210715