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

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

1121. 缓动-缓动函数演示 [ 69%]

....fontSize = 12; this.label.color = "#FFFFFF"; this.addChild(this.label); } public setLabel(value: string): void { this.label.text = value; } } new laya.Tween_EaseFunctionsDemo();package { import laya.display.Input; import laya.display.Sprite; import laya.display.Stage; import laya.display.Text; impo...

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

1122. laya.d3.core.render.command.DrawRenderCMD_API3.0 [ 69%]

...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/render/command/DrawRenderCMD" DrawRenderCMD Class DrawRenderCMD Hierarchy Command DrawRenderCMD Index Constructors constructor Accessors...

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

1123. laya.d3.resource.models.SkyRenderer_API3.0 [ 69%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/models/SkyRenderer" SkyRenderer Class SkyRenderer SkyRenderer 类用于实现天空渲染器。 Hierarchy SkyRenderer Index Construc...

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

1124. laya.display.cmd.DrawLineCmd_API3.0 [ 69%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawLineCmd" DrawLineCmd Class DrawLineCmd 绘制单条曲线 Hierarchy DrawLineCmd Index Properties fromX fromY lineColor lineWidth...

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

1125. 如何启用摇一摇 [ 69%]

...ckage controller { import model.Model; /** * ... * @author 偷心枫贼 */ public class Controller_yao1yao { public function Controller_yao1yao(model:Model) { __JS__('_model = model'); __JS__('var SHAKE_THRESHOLD = 100'); __JS__('var last_update = 0'); __JS__('var x = y = z = last_x = last_y = last_...

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

1126. laya.device.geolocation.GeolocationInfo_API3.0 [ 69%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/geolocation/GeolocationInfo" GeolocationInfo Class GeolocationInfo Hierarchy GeolocationInfo Index Accessors accuracy altitude altitudeAc...

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

1127. laya.display.cmd.DrawCircleCmd_API3.0 [ 69%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawCircleCmd" DrawCircleCmd Class DrawCircleCmd 绘制圆形 Hierarchy DrawCircleCmd Index Properties fillColor lineColor lineWidth...

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

1128. 十几秒以后动画渲染时间变长,帧率变慢,是怎么回事? [ 69%]

...************************************/ class DollGunRole extends GunRole{  public _box: GunBox; // toset: /** 飞行的范围, 用于计算飞行路径 */ private _fly_site:Site = new SiteEntity( 10, 10, -1, 400 );  public static _ani_cached:boolean = false;  // toset: /** 飞行物的中心点, ...

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

1129. 经验分享:如何控制龙骨动画的播放索引! [ 69%]

... laya.ani.bone.Templet; import laya.events.Event; import laya.webgl.WebGL; public class DragonDemo { private var mFactory:Templet; private var mArmature:Skeleton; private var index:int;//帧频 private var time:Number; public function DragonDemo() { Laya.init(800,600,WebGL); index=15; mFactory=new T...

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

1130. 粒子系统-场景与粒子 [ 69%]

...ort laya.display.Stage; import laya.utils.Stat; /** * ... * @author ... */ public class Particle_Scene { public function Particle_Scene() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); var scene:Scene = Laya.stage.addChild(...

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