大约有 386 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0079 秒)
... = false Inherited from AnimationBase._ownGraphics Defined in laya/display/Sprite.ts:245 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:631 _skinBaseUrl _skinBaseUrl: string Inherited from AnimationBase._skinBaseUrl Defined in laya/display/Sprite.ts:269 如果节点...
来源: Laya3.0_api 发布时间: 20231102
...。 1. 使用getBounds/ getGraphicBounds。 ```typescript var sp=new Laya.Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); var bounds:Laya.Rectangle=sp.getGraphicBounds(); Laya.stage.addChild(sp); ``` getBounds可以满足多数多数需求,但由于其需要计算边界,不适合频繁调...
来源: Laya2.0_文档 发布时间: 20210714
...请检查后重新编译。 Texture图片能否进行翻转? 如何设置Sprite的宽高和点击区域? 使用钢体设置防穿后仍有几率会穿透 自定义场景类导出layaMaxUI.ts有前缀导致报错 FD 宏编译时 出现 试图访问该方法时失败 将list里的scrollBar设置mo...
来源: Laya_社区 发布时间: 20180329
...过unDestroyedScenes属性查看还未被销毁的场景列表 Hierarchy Sprite Scene View Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeig...
来源: Laya3.0_api 发布时间: 20231115
...n • 2018-05-29 16:45 @灬倪先森_:var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); 这个是示例中的,有几种方法,文档中也有,而且有例子。https://ldc.layabox.com/doc/?nav=zh-as-4-0-5,看看实战的...
来源: Laya_社区 发布时间: 20180529
...vElement=new HTMLDivElement(); div.innerHTML = "adivspanspan2p"; Hierarchy Sprite HTMLDivElement HTMLIframeElement Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha ble...
来源: Laya3.0_api 发布时间: 20231102
lh文件内meshSprite添加阴影属性无效 IDE:LayaIDE 1.7.12 引擎:Laya3D LM文件测试阴影效果成功后,使用lh文件加载多个模型,用for语句批量为meshSprite3D添加阴影属性,但仅有最后一个成功(图片绿地上的阴影),for语句内的材...
来源: Laya_社区 发布时间: 20171110
...画失败 unity到导出场景加载时抛异常,不知所措 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 模型资源释放问题 请教下微信小游戏的内存和数据缓存? 问题状态 ...
来源: Laya_社区 发布时间: 20180913
...: 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 _scene3D _scene3D: any Inherited from Scene._scene3D Defined in laya/display/Scene.ts:28 _skinBaseUrl _skinBaseUrl: string Inher...
来源: Laya3.0_api 发布时间: 20231115
... = false Inherited from AnimationBase._ownGraphics Defined in laya/display/Sprite.ts:245 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:631 _skinBaseUrl _skinBaseUrl: string Inherited from AnimationBase._skinBaseUrl Defined in laya/display/Sprite.ts:269 如果节点...
来源: Laya3.0_api 发布时间: 20231102