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

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

1101. 屏幕适配-缩放-Extract Fit [ 70%]

...ACT_FIT();package { import laya.display.Sprite; import laya.display.Stage; public class SmartScale_Scale_EXTRACT_FIT { private var rect:Sprite; public function SmartScale_Scale_EXTRACT_FIT() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_EXACTFIT; Laya.stage.bgColor = "#232628"; createCan...

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

1102. laya.d3.core.particleshuriken.module.VelocityOverLifetime_API3.0 [ 70%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/VelocityOverLifetime" VelocityOverLifetime Class VelocityOverLifetime VelocityOverLifetime 类用于粒子的生...

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

1103. LayaAir和LayaNative 交互问题 [ 70%]

.../Test.call("openlight",a); Test.call("wxRegLogin",a); }); android的:   public class Test {   public static void wxRegLogin(boolean bOpen){  Log.e("LayaAir回调结果", "==================================================================="); }   }   点击一次js的登录,打印一次日...

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

1104. 为什么谷歌浏览器调试可以显示这些文字打包后却没有了 [ 70%]

... 2017-09-11 16:17 class CAffiche { private textfiled:Laya.HTMLDivElement; public Reset():void { gRoomView.chatBox.innerHTML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay(msg:any):void { this.AddChat(msg['...

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

1105. laya.display.FrameAnimation [ 70%]

...ationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class FrameAnimationInheritanceFrameAnimation AnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses EffectAnimation 关键帧动画播放类。 Public Properties Hide Inherited Public Properties Show Inherit...

来源: laya_api 发布时间: 20170929

1106. laya.components.AnimatorPlayState2D_API3.0 [ 70%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/AnimatorPlayState2D" AnimatorPlayState2D Class AnimatorPlayState2D Hierarchy AnimatorPlayState2D Index Constructors constructor Prope...

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

1107. laya.d3.renderobjs.renderobj.CullPassBase_API3.0 [ 70%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/RenderObj/CullPass" CullPassBase Class CullPassBase Hierarchy CullPassBase BVHCullPass Implements ICullPass Index Accessors cullLi...

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

1108. laya.components.AnimatorStateCondition_API3.0 [ 70%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/AnimatorStateCondition" AnimatorStateCondition Class AnimatorStateCondition Hierarchy AnimatorStateCondition AnimatorStateNumberCondi...

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

1109. sprite 设置为静态变量后,无法从舞台移除 [ 69%]

...; import laya.net.Loader; import laya.utils.Stat; import laya.webgl.WebGL; public class HtmlDemo { private static var sp:Sprite; public function HtmlDemo() { Laya.init(800, 480,WebGL); Stat.show(); sp=new Sprite(); sp.loadImage("background.jpg"); Laya.stage.addChild(sp); Laya.stage.on(Event.CLICK,th...

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

1110. 如何用Tween 给graphics.drawLine 设置缓动 [ 69%]

...修改scale属性,进行拉伸!package { import laya.display.Sprite; public class LayaAirDemo { private var sp:Sprite; private var endX:Number; private var endY:Number; public function LayaAirDemo() { Laya.init(600,600); sp=new Sprite(); Laya.stage.addChild(sp); endX=0; endY=0; sp.graphics.drawL...

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