大约有 7,353 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0117 秒)
Laya_社区(6642) Laya2.0_文档(183) Laya3.0_api(118) laya_api(102) Laya2.0_api(90) Laya_示例(86) Laya3.0_文档(75) Laya2.0_示例(57)
...er = 1):void 绘制一系列曲线。 富文本下划线绘制bug new Laya.Sprite();绘制图形以后,怎么删除释放资源? 使用滤镜、遮罩、或者绘制频率很高的时候回出现黑屏闪烁 如何给Sprite的graphics绘制的线条添加发光滤镜? 用sprite.graphics绘制...
来源: Laya_社区 发布时间: 20201214
...,然后修改scale属性,进行拉伸!package { import laya.display.Sprite; public class LayaAirDemo { private var sp:Sprite; private var endX:Number; private var endY:Number; public function LayaAirDemo() { Laya.init(600,600); sp=new Sprite(); Laya.stage.addChild(sp); endX=0; endY=0; sp.graph...
来源: Laya_社区 发布时间: 20170418
...hildren(); var root = cell.getChildByName('root'); if (!root) { root = new Sprite(); root.pos(0, 0); root.name = "root"; cell.addChild(root); } 。。。。。 生成的 图片 从一个场景中回来在生成 他的 子物体 Sprite 在切换场景再回来 在生成 如此多次 自后 我的 lis...
来源: Laya_社区 发布时间: 20170324
... laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.display.Sprite; import laya.events.Event; import laya.utils.Browser; import laya.utils.Stat; import laya.webgl.WebGL; public class ASDemo { private var mAniPath:String; private var mFactory:Templet; private var mCurrIndex:int = 0; pr...
来源: Laya_社区 发布时间: 20170406
...estory join报错? 使用box2d物理系统 在destory被collider绑定的sprite时会报错 Error preload.js:55 at Object.box2d.b2Assert (file:///D:/develop/layaspace/smallballs/bin/libs/laya.physics.js:38:57) at box2d.b2World.DestroyJoint (file:///D:/develop/layaspace/smallballs/bin...
来源: Laya_社区 发布时间: 20181106
...getAnimatorResource Methods Static getAnimatorResource getAnimatorResource(sprite: Sprite3D, propertyKey: string): Component Defined in laya/d3/component/Animator/AnimatorResource.ts:8 Parameters sprite: Sprite3D propertyKey: string Returns Component Globals "laya/d3/component/Animator/AnimatorResou...
来源: Laya3.0_api 发布时间: 20231115
viewport 的用法 var Sprite = Laya.Sprite; var HitArea = Laya.HitArea; var Graphic = Laya.Graphics; var Event = Laya.Event; var Layer = Laya.Layer; var Rectangle = Laya.Rectangle; function layaSlot(info){ layaSlot.__super.call(this); this.size(200,200); ...
来源: Laya_社区 发布时间: 20170323
drawToTexture截大图有问题,会丢失 private nsp:Laya.Sprite; init(): void { this.nsp=new Laya.Sprite(); this.nsp.graphics.drawRect(0,0,1600,1600,"#ff0000"); this.nsp.mouseThrough=true; Laya.stage.addChild(this.nsp); this.nsp....
来源: Laya_社区 发布时间: 20220809
性能统计面板 Sprite统计为负数,不知道为什么 附件 : --> 2021-01-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 小小泽 赞同来自: 理论上是不会出现这个情况的,可以提供一...
来源: Laya_社区 发布时间: 20210126
...ic title: string; constructor(){ super(); } public _initialize(owner: Laya.Sprite3D): void { super._initialize(owner); var sprite3D = this.owner as Laya.MeshSprite3D; var sprite3DMat = new Laya.StandardMaterial(); sprite3DMat.cull = Laya.BaseMaterial.CULL_NONE; var imageData = this.canvasWrapText({c...
来源: Laya_社区 发布时间: 20180814