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

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

151. laya.d3.core.scene.Scene3D [ 75%]

...ants Packagelaya.d3.core.sceneClasspublic class Scene3DInheritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By act...

来源: Laya2.0_api 发布时间: 20190513

152. laya.device.media.Video_API3.0 [ 74%]

... https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite Video Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name videoElement CAMERA MP4 OGG SUPPORT_MAYBY SUPPORT_NO SUPPORT_PROBABLY WEBM drawtocanv...

来源: Laya3.0_api 发布时间: 20231102

153. laya.display.Animation [ 74%]

...displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当...

来源: laya_api 发布时间: 20170929

154. 属性第二次设置后需要刷新才生效么? [ 74%]

...次设置后需要刷新才生效么? panel设定高度,里面加一个spritesprite动态添加数据,每次重新设置sprite高度,高于panel就滑动,但是只有第一次设置有效,之后在设置高度无效,只能是第一次的高度。打印sprite.height 是变了的,...

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

155. laya.d3.core.scene.BaseScene [ 74%]

... Packagelaya.d3.core.sceneClasspublic class BaseSceneInheritanceBaseScene Sprite Node EventDispatcher ObjectImplements ISubmitSubclasses Scene, VRScene BaseScene 类用于实现场景的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By...

来源: laya_api 发布时间: 20170422

156. 不规则图形遮罩 显示出来的内容与画的遮罩图形不相同 [ 74%]

...100], ["lineTo", px+0, py+0], ["closePath"]];         private var bg:Sprite; bg = new Sprite();             bg.loadImage("pic/2.jpg",0,0);             Laya.stage.addChild(bg);             maskSP = new Sprite();             maskSP.graphics.drawPath(0, 0,maskS...

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

157. CPU优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 74%]

...要知道。 1. 使用getBounds/ getGraphicBounds。 ```javascript var sp:Sprite = new Sprite(); sp.graphics.drawRect(0, 0, 100, 100, "#FF0000"); var bounds:Rectangle  = sp.getGraphicBounds(); Laya.stage.addChild(sp); ``` ​ getBounds可以满足多数多数需求,但由于其需要计...

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

158. 飞机大战js源码中判断语句问题 [ 74%]

飞机大战js源码中判断语句问题 (function Game() { var Sprite = laya.display.Sprite; //定义背景容器 var box; //定义背景1 var bg1; //定义背景2 var bg2; (function () { //初始化引擎,设置游戏的宽高 Laya.init(480, 852); //创建一个容器,用于存放背景图...

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

159. laya.media.VideoNode_API3.0 [ 74%]

... https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite VideoNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alp...

来源: Laya3.0_api 发布时间: 20231115

160. laya.ui.Tree [ 74%]

...vents Packagelaya.uiClasspublic class TreeInheritanceTree Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...

来源: Laya2.0_api 发布时间: 20190513