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

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

341. layaIDE中 sprite中设置mask IDE 假死 [ 94%]

layaIDE中 sprite中设置mask IDE 假死  layaide mask 使用中 大图 不在 mask范围中,ide报错,假死,必须重新打开ide 设置mask属性,然后鼠标点击周边区域   ide假死,可以选其他,但都打不开。  重新打开后,mask 错误 scene为全黑。 此...

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

342. 绘制圆形与扇形(TypeScript-LayaAir基础篇(TS)-矢量图) [ 94%]

...形,示例代码如下: ```javascript module laya {     import Sprite = Laya.Sprite;     import Stage = Laya.Stage;     import WebGL = Laya.WebGL;        export class Sprite_DrawShapes {         private sp: Sprite;            constructor()   ...

来源: Laya2.0_文档 发布时间: 20210715

343. 有关Sprite3D使用lh资源文件的问题 [ 94%]

有关Sprite3D使用lh资源文件的问题 var plane = this.scene.addChild(Laya.loader.getRes("res/LayaScene_plane/plane.lh")) as Laya.Sprite3D; 这样可以根据一个lh文件 来创建一个Sprite3D类型的对象。 那么请问,如果我写了一个类A,并继承与Laya.Sprite3D 我要怎...

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

344. laya.ui.Tab_API3.0 [ 94%]

...: 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

345. laya.utils.Utils [ 94%]

...后的函数。 Utils  fitDOMElementInArea(dom:Object, coordinateSpace:Sprite, x:Number, y:Number, width:Number, height:Number):void[static] 使DOM元素使用舞台内的某块区域内。 Utils  getGID():int[static] 获取一个全局唯一ID。Utils  getGlobalPosAndScale(sprite:Sprite):Rect...

来源: laya_api 发布时间: 20170929

346. laya.d3.core.Camera [ 94%]

...s Packagelaya.d3.coreClasspublic class CameraInheritanceCamera BaseCamera Sprite3D ComponentNode Node EventDispatcher Object Camera 类用于创建摄像机。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是...

来源: laya_api 发布时间: 20170929

347. Laya.Sprite loadImage 参数问题 [ 94%]

Laya.Sprite loadImage 参数问题 第一天学习laya,遇见个问题。api上对loadimage的描述是:   loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null) 官方文档也是这么用的:http://ldc.layabox.com/doc/?nav=zh-ts-1-3-...

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

348. 请教下 Sprite 怎么渲染成纹理? [ 94%]

请教下 Sprite 怎么渲染成纹理? 2017-02-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: sprite是显示到舞台上的对象,文理是图片材质。不明白你的描述。你...

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

349. hitArea怎么用 [ 94%]

hitArea怎么用 var container = new Sprite();         container.graphics.drawRect(0,0,640,1136,'#ff0000');         container.size(640,1136)         Laya.stage.addChild(container);                       var bg2Sprite =  new Sprite();         bg2Sprite.graphics.drawRect(...

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

350. laya.ui.RadioGroup_API3.0 [ 94%]

...: 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