大约有 215 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0031 秒)
Laya3.0_api(65) Laya2.0_api(60) laya_api(56) Laya_社区(28) Laya3.0_文档(2) Laya2.0_文档(2) Laya2.0_示例(1) Laya_示例(1)
...置 /**全速模式,以60的帧率运行。*/ public static const FRAME_FAST:String = "fast"; /**慢速模式,以30的帧率运行。*/ public static const FRAME_SLOW:String = "slow"; /**自动模式,以30的帧率运行,但...
来源: Laya_社区 发布时间: 20170610
...h + this.height, this.height, "#FF7F50"); } // 获取关节另一头位置 public getPinPosition():Point { var radian:number = this.rotation * Math.PI / 180; var tx:number = this.x + Math.cos(radian) * this.width; var ty:number = this.y + Math.sin(radian) * this.width; return new Point(tx, ty); } } ...
来源: Laya_示例 发布时间: 20251209
...h + this.height, this.height, "#FF7F50"); } // 获取关节另一头位置 public getPinPosition():Point { var radian:number = this.rotation * Math.PI / 180; var tx:number = this.x + Math.cos(radian) * this.width; var ty:number = this.y + Math.sin(radian) * this.width; return new Point(tx, ty); } } ...
来源: Laya2.0_示例 发布时间: 20251209
...: 13146870820 using UnityEngine; using System.Collections; public class DJH_Animation : MonoBehaviour { public GameObject AnimationObj;//带有动画的对象 // Use this for initialization void Start () { ...
来源: Laya_社区 发布时间: 20171204
... import laya.maths.Size; import laya.ui.Image; public class ProcessTimer extends Sprite { public var img:Image; public var maskSp:Sprite; public var percent:Number; public var type:String = "PROGRESS_TIMER_TYP...
来源: Laya_社区 发布时间: 20180404
... Event = Laya.Event; import Browser = Laya.Browser; export class GameMain{ public ctx = document.createElement('canvas').getContext('2d'); constructor() { Laya.init(900,630, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHO...
来源: Laya_社区 发布时间: 20180525
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/Log" Log Class Log Log 类用于在界面内显示日志记录信息。 注意:在加速器内不可使用 Hierarchy Log Index Propertie...
来源: Laya3.0_api 发布时间: 20231115
...ort class MSketon { private mFactory: Laya.Templet; public mArmature: Laya.Skeleton private _handler: Laya.Handler; constructor(url: string, handler: Laya.Handler, aniMode: number = 0) { this._handler = handler; t...
来源: Laya_社区 发布时间: 20200618
...eturn 指定时间的插补属性的值。 */ public static function cubicOut(t:Number, b:Number, c:Number, d:Number):Number { return c * ((t = t / d - 1) * t * t + 1) + b; } 你可以直接向这个方法里传值 2018-05-03 1 0 分享...
来源: Laya_社区 发布时间: 20180503
...代码在浏览器里都可以正常运行,打包后才会出现问题 public function send(type:String,url:String,callbackName:String):void { this.type = type; //发送请求 var script:* = Browser.createElement("script"); script.id = "serverlist"; Browser.document.head.appendChild(script); scrip...
来源: Laya_社区 发布时间: 20180209