大约有 597 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0039 秒)
...的绘图操作都通过Graphics来实现的。Sprite height : Number[override] 显示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。 可...
来源: Laya2.0_api 发布时间: 20190513
...ayaGameListener implements ILayaEventListener { public Activity activity; @Override public void ExitGame() { Log.i("=======", "======exit"); activity.finish(); activity = null; //mLayaEngine.onDestroy(); System.exit(0); } @Override public void showAssistantTouch(boolean b) { } @O...
来源: Laya_社区 发布时间: 20170808
...extends Script3D { private var rotation:Vector3 = new Vector3(0, 0.03, 0); override public function onAwake():void { trace("onAwake"); } override public function onStart():void { trace("onStart"); } override public function onUpdate():void { (owner as Sprite3D).transform.rotate(rotation, false); } o...
来源: Laya2.0_文档 发布时间: 20210714
...TempletPublic Methods MethodDefined By _setCreateURL(url:String):void[override] Templet buildArmature(aniMode:int = 0):Skeleton 创建动画 0,使用模板缓冲的数据,模板缓冲的数据,不允许修改 (内存开销小,计算开销小,不支持换装) 1,使用动画自己...
来源: Laya2.0_api 发布时间: 20190513
...sitionAndDirection Constructors constructor new SphereShape(): SphereShape Overrides BaseShape.constructor Defined in laya/d3/core/particleShuriKen/module/shape/SphereShape.ts:14 创建一个 SphereShape 实例。 Returns SphereShape Properties emitFromShell emitFromShell: boolean Defined in laya/d3...
来源: Laya3.0_api 发布时间: 20231115
...dDirection Constructors constructor new HemisphereShape(): HemisphereShape Overrides BaseShape.constructor Defined in laya/d3/core/particleShuriKen/module/shape/HemisphereShape.ts:15 创建一个 HemisphereShape 实例。 Returns HemisphereShape Properties emitFromShell emitFromShell: boolean Define...
来源: Laya3.0_api 发布时间: 20231115
...那边本身都不会触发,下面给出大概的代码 @Override public void onActivityStarted(Activity activity) { //这是切入事件 ConchJNI.RunJS("xxx"); } @Override public void onActivityStopp...
来源: Laya_社区 发布时间: 20201226
...enderUpdateWithCamera(context:RenderContext3D, transform:Transform3D):void[override] PixelLineRenderer event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Even...
来源: Laya2.0_api 发布时间: 20190513
...ratePositionAndDirection Constructors constructor new BoxShape(): BoxShape Overrides BaseShape.constructor Defined in laya/d3/core/particleShuriKen/module/shape/BoxShape.ts:16 创建一个 BoxShape 实例。 Returns BoxShape Properties enable enable: boolean = true Inherited from BaseShape.enable De...
来源: Laya3.0_api 发布时间: 20231115
...现的。Sprite gray : Boolean 是否变灰。Component height : Number[override] 表示显示对象的高度,以像素为单位。 注:当值为0时,高度为自适应大小。 Component hitArea : * 可以设置一个Rectangle区域作为点击区域,或者设置一个HitArea实例作为...
来源: laya_api 发布时间: 20170929