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

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

101. laya.d3.physics.constraints.FixedConstraint_API3.0 [ 44%]

...t.anchor Defined in laya/d3/physics/constraints/ConstraintComponent.ts:168 设置锚点 Returns Vector3 Inherited from ConstraintComponent.anchor Defined in laya/d3/physics/constraints/ConstraintComponent.ts:163 设置锚点 Parameters value: Vector3 Returns void appliedImpulse get appliedImpulse():...

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

102. 为什么会出现报错 ani not found:ufo1_down [ 44%]

... = [3,2,1]; // 敌机半径 this.radius = [15,30,70]; // 初始化引擎,设置舞台大小 Laya.init(400,852); // 创建循环滚动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Hand...

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

103. laya.components.AnimationClip2D_API3.0 [ 44%]

...ited from Resource.obsolute Defined in laya/resource/Resource.ts:147 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而去重新加载。。 Returns boolean Inherited from Resource.obsolute Defined in laya...

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

104. LayaFlash如何使用chrome调试问题? [ 43%]

...stener(Event.ADDED_TO_STAGE, init); IFlash.setSize(960, 640); //2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash.setBgcolor("#000000"); //背景色 IFlash.showInfo(false); //是否显示率 //[IF-JS]value = 100; } } }   代码中使用LayaFlash的宏编译...

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

105. laya.physics.joint.MotorJoint_API3.0 [ 43%]

...ted: boolean = false Defined in laya/physics/joint/MotorJoint.ts:16 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherBody otherBody: RigidBody Defined in laya/physics/joint/MotorJoint.ts:14 [首次设置有效]关节的连接刚体 owner owner: Node Inherited from Compo...

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

106. 为什么会出现报错 ani not found:ufo1_down [ 42%]

... = [3,2,1]; // 敌机半径 this.radius = [15,30,70]; // 初始化引擎,设置舞台大小 Laya.init(400,852); // 创建循环滚动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Hand...

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

107. laya.physics.joint.WheelJoint_API3.0 [ 42%]

...chor: any[] = [0, 0] Defined in laya/physics/joint/WheelJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移 axis axis: any[] = [1, 0] Defined in laya/physics/joint/WheelJoint.ts:22 [首次设置有效]一个向量值,描述运动方向,比如1,0...

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

108. laya.ani.AnimationTemplet_API3.0 [ 42%]

...ited from Resource.obsolute Defined in laya/resource/Resource.ts:147 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而去重新加载。。 Returns boolean Inherited from Resource.obsolute Defined in laya...

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

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

... this._doll_area.w = doll_area.w; this._doll_area.h = doll_area.h; }  // 设置容器的宽高 this.width = Math.max( this._blood_area.w, this._demon_area.w, this._doll_area.w );  this.height = this._blood_area.h + this._demon_area.h + this._doll_area.h;  this.graphics.drawRect( 0, 0, this.width,...

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

110. 富文本:LayaAir下 HtmlDivElement的使用汇总 [ 41%]

... 提交 9 个回复 cuixueying 赞同来自: Richer 1.简单的Html属性设置:Bold、Font、FontSize、Color、下划线 【注意,不支持斜体、描边、span标签内嵌的方式】 示例如下: var div:HTMLDivElement=new HTMLDivElement(); div.innerHTML="<span style='font-weight:bol...

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