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

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

1621. 天空-天空穹 [ 58%]

...meraMoveScript; /** * ... * @author */ public class SkyDomeSample { public function SkyDomeSample() { 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(new Scene()) as Scene; var camera:Came...

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

1622. laya.ani.bone.canvasmesh.SkinMeshForGraphic_API3.0 [ 58%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface

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

1623. 2D物理-仿生机器人 [ 58%]

...x: velocityX * 5, y: velocityY * 5 }; Laya.Laya.timer.frameOnce(120, this, function () { newBall.destroy(); }); }); let label = this.label = Laya.Laya.stage.addChild(new Laya.Label("双击屏幕,仿生机器人向相反方向运动\n单击产生新的小球刚体")); label.top = 20; label.right = ...

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

1624. Laya_API3.0 [ 58%]

...ArraySlice uint16ArraySlice uint8ArraySlice Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

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

1625. DragonBone动画使用(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 58%]

...age { import laya.ani.bone.Skeleton; public class DragonBonesDemo { public function DragonBonesDemo() { //初始化舞台 Laya.init(1334, 750); //创建一个Skeleton对象 var skeleton:Skeleton = new Skeleton(); //添加到舞台 Laya.stage.addChild(skeleton); skeleton.pos(600,350); //通过加载...

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

1626. laya.d3.core.render.RenderContext3D_API3.0 [ 58%]

...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Enumeration Interface Static property

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

1627. 如何预加载shader [ 58%]

...ialDefine 材质宏定义值。          */         public function precompileShaderWithShaderDefine(publicDefine:int, spriteDefine:int, materialDefine:int):void {             withCompile(publicDefine, spriteDefine, materialDefine);         }   然后用这个接...

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

1628. laya.utils.Tween.to的第一个参数可以是个label? [ 58%]

...n    返回Tween对象。          */         public static function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false, autoRecover:Boolean = true):Tween {             return Pool.getItemByClass(...

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

1629. laya.html.XMLIterator_API3.0 [ 58%]

...A_END CDATA_START COMMENT_END COMMENT_START Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

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

1630. 用最新版本的IDE开发,用AS语言开发,用HttpRequest加载图片报错,用JS语言开发却可以加载 [ 58%]

...JS语言开发却可以加载 按照 技术文档里的事例: public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var sp:Sprite = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr....

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