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

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

171. 关于as的XmlDom的warning [ 77%]

...要回复问题请先登录 发起人 llyc0cyll 相关问题 Warning!,this class[MiniAdpter] already exist: Object {init: } GradientDataNumber warning是什么 Warning!,this class[MiniAdpter] already exist: Object {init: } Error or warning message:LayaUISample.max.js 安卓native有个warning,确认...

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

172. AS中的回调函数为什么只能用Handler创建? [ 77%]

...一个主: private var score:int; public function main():void {  new class(callback); } private function callback(num:int):void {   this.score = num;   var tmp:int = this.score;   trace(tmp); }     另外一个class.as 里面有个方法   public function class(callback:Function):v...

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

173. runTime使用(JavaScript-IDE篇(JS)-组件化开发相关) [ 77%]

...钮)的功能,全部代码如下所示: ```typescript export default class ImageRunTime extends Laya.Image{ constructor(){ super(); this.scaleTime = 100; //设置组件的中心点 this.anchorX = this.anchorY = 0.5; //添加鼠标按下事件侦听。按时时缩小按钮。 this.on(Laya.Event...

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

174. laya.d3.core.particleshuriken.module.RotationOverLifetime_API3.0 [ 77%]

...d3/core/particleShuriKen/module/RotationOverLifetime" RotationOverLifetime Class RotationOverLifetime RotationOverLifetime 用于粒子的生命周期旋转。 Hierarchy RotationOverLifetime Implements IClone Index Constructors constructor Properties enable Accessors angularVelocity Methods clone...

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

175. laya.d3.core.particleshuriken.module.GradientDataInt_API3.0 [ 77%]

...als "laya/d3/core/particleShuriKen/module/GradientDataInt" GradientDataInt Class GradientDataInt GradientDataInt 用于创建整形渐变。 Hierarchy GradientDataInt Implements IClone Index Constructors constructor Accessors gradientCount Methods add clone cloneTo Constructors constructor new Gr...

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

176. laya.d3.component.animator.AnimatorPlayState_API3.0 [ 77%]

...u Globals "laya/d3/component/Animator/AnimatorPlayState" AnimatorPlayState Class AnimatorPlayState AnimatorPlayState 用于创建动画播放状态信息。 Hierarchy AnimatorPlayState Index Constructors constructor Accessors animatorState currentState duration normalizedTime Constructors constru...

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

177. laya.d3.core.render.PostProcessEffect_API3.0 [ 77%]

...ted Menu Globals "laya/d3/core/render/PostProcessEffect" PostProcessEffect Class PostProcessEffect PostProcessEffect 用于创建后期处理渲染效果。 Hierarchy PostProcessEffect ColorGradEffect BloomEffect ScalableAO GaussianDoF Index Constructors constructor Accessors active Methods effec...

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

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

...打开链接查看:[https://layaair.ldc.layabox.com/api/?category=Bone&class=laya.ani.bone.Skeleton](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=Animation&class=laya.ani.bone.Skeleton) 创建文档DragonBonesDemo.as,代码编写如下: ```jav...

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

179. laya.d3.core.particleshuriken.module.VelocityOverLifetime_API3.0 [ 76%]

...d3/core/particleShuriKen/module/VelocityOverLifetime" VelocityOverLifetime Class VelocityOverLifetime VelocityOverLifetime 用于粒子的生命周期速度。 Hierarchy VelocityOverLifetime Implements IClone Index Constructors constructor Properties enable space Accessors velocity Methods clone ...

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

180. 显示与切换图片(ActionScript-LayaAir基础篇(AS3)-位图) [ 76%]

...编写代码如下: ```java package { import laya.display.Sprite; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" var img:Sprite = new Sprite(); //加载显示图片,坐标位于100,50 img.loadImage("res/i...

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