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

大约有 164 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0089 秒)

111. Texture如何转换成Texture2D有人搞过吗 [ 68%]

...ure2D和texture话,就程序动态生成。 1.加载成texture  2.用Sprite画出来 3.sp转url; var htmlCanvas = sp.drawToCanvas(width,height,0,0) var canvas = htmlCanvas.getCanvas(); var base64 = canvas.toDataURL("image/png"); var blob = dataURLtoBlob(base64); var url = Browser.window.URL.cr...

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

112. laya.ui.Dialog [ 67%]

...stants Packagelaya.uiClasspublic class DialogInheritanceDialog View Scene Sprite Node EventDispatcher Object Dialog 组件是一个弹出话框,实现话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 ...

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

113. laya.device.media.Video [ 66%]

...| Events Packagelaya.device.mediaClasspublic class VideoInheritanceVideo Sprite Node EventDispatcher Object Video将视频显示到Canvas上。Video可能不会在所有浏览器有效。 关于Video支持所有事件参见:http://www.w3school.com.cn/tags/html_ref_audio_video_dom.asp。 注意...

来源: laya_api 发布时间: 20170929

114. laya.ui.DialogManager_API3.0 [ 63%]

...过设置话框zOrder属性,可以更改弹出层次 Hierarchy Sprite DialogManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize closeEffectHandler hitTestPrior lockLayer maskLayer mouseThrough name popupEffectHandler tag drawtocanvCtx Ac...

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

115. laya.media.VideoNode_API3.0 [ 63%]

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

116. laya.ani.bone.Skeleton [ 62%]

... Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolea...

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

117. laya.physics.PhysicsDebugDraw [ 62%]

...elaya.physicsClasspublic class PhysicsDebugDrawInheritancePhysicsDebugDraw Sprite Node EventDispatcher Object 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By...

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

118. laya.map.TileAniSprite [ 62%]

...entationAll Packages | All Classes | Index | Frames No Frames TileAniSpriteProperties | Methods | Events Packagelaya.mapClasspublic class TileAniSpriteInheritanceTileAniSprite Sprite Node EventDispatcher Object TildMap动画显示象(一个动画(TileTexSet),可以绑定多个...

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

119. laya.ani.swf.MovieClip [ 61%]

...Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后 swf 动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取...

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

120. laya.device.media.Video [ 61%]

...| Events Packagelaya.device.mediaClasspublic class VideoInheritanceVideo Sprite Node EventDispatcher Object Video将视频显示到Canvas上。Video可能不会在所有浏览器有效。 关于Video支持所有事件参见:http://www.w3school.com.cn/tags/html_ref_audio_video_dom.asp。 注意...

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