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

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

651. 点击拖动图片,当鼠标移出再移回舞台中时如何保持点击状态 [ 50%]

...容相关的链接 提交 1 个回复 cuixueying 赞同来自: 请参考:package { import laya.ani.swf.MovieClip; import laya.display.Sprite; import laya.events.Event; import laya.ui.Image; import laya.utils.Browser; public class TestDemo { private var sp:Sprite; public function TestDemo() { Laya....

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

652. laya.d3.core.scene.BoundsOctree [ 50%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BoundsOctreeMethods Packagelaya.d3.core.sceneClasspublic class BoundsOctreeInheritanceBoundsOctree Object BoundsOctree 类用于创建八叉树。 Public Methods  MethodDefined By  BoundsOctree(initialWorldSize:Number,...

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

653. UI-ColorPicker [ 50%]

... { console.log(colorPicker.selectedColor); } } } new laya.UI_ColorPicker();package { import laya.display.Stage; import laya.ui.ColorPicker; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_ColorPicker { private var skin:String = "../../res/ui/colorPicker...

来源: Laya2.0_示例 发布时间: 20260819

654. laya.d3.component.Component3D [ 50%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Component3DProperties | Methods | Events Packagelaya.d3.componentClasspublic class Component3DInheritanceComponent3D EventDispatcher ObjectImplements IUpdate, laya.resource.IDestroySubclasses Animator, AttachPoint, Coll...

来源: laya_api 发布时间: 20170929

655. 分享:避免鼠标快速移动,mouseout和mouseover触发顺序不一致的问题! [ 50%]

...鼠标快速移动,mouseout和mouseover触发顺序不一致的问题! package { import laya.display.Sprite; import laya.events.Event; import laya.utils.Mouse; /* 2或多个显示对象 鼠标移到显示对象上,呈现手型光标,移出呈现箭头,当鼠标快速在2个显示对象之...

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

656. Android替换游戏启动logo看不到设置的图片 [ 50%]

...游戏界面(但是必须播完一遍动画); 3、示例(AS为例)package { import laya.net.Loader; import laya.utils.Handler; import view.TestView; public class LayaUISample { private var dd:*; public function LayaUISample() { //初始化引擎 Laya.init(600, 400); //判断是否在加速...

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

657. 文本-HTML文本 [ 50%]

...d(p); p.href = "res/html/test.html"; p.y = 200; } } } new laya.Text_HTML();package { import laya.display.Stage; import laya.html.dom.HTMLDivElement; import laya.html.dom.HTMLIframeElement; import laya.utils.Browser; import laya.webgl.WebGL; public class Text_HTML { public function Text_HTML() { // ...

来源: Laya2.0_示例 发布时间: 20260819

658. 计时器-延迟调用 [ 50%]

...gn = "center"; Laya.stage.addChild(text); } } } new laya.Timer_CallLater();package { import laya.display.Stage; import laya.display.Text; import laya.utils.Browser; import laya.webgl.WebGL; public class Timer_CallLater { public function Timer_CallLater() { // 不支持WebGL时自动切换至Canvas L...

来源: Laya_示例 发布时间: 20260819

659. laya.d3.graphics.VertexPositionNormalTexture0Texture1Tangent [ 50%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTexture0Texture1TangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1TangentInheritanceVertexPositionNormalTexture0Texture1Tangent ObjectImplements ...

来源: laya_api 发布时间: 20170929

660. 加载-单一类型资源加载 [ 50%]

...res/apes/monkey2.png"); // 使用资源 } } } new laya.Loader_SingleType();package { import laya.net.Loader; import laya.resource.Texture; import laya.utils.Handler; public class Loader_SingleType { public function Loader_SingleType() { Laya.init(550, 400); // 加载一张png类型资源 Laya.loader...

来源: Laya2.0_示例 发布时间: 20260819