大约有 131 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0029 秒)
... Point copy(point:Point):Point copy point坐标 Point create():Point[static] 从对象池创建 Point distance(x:Number, y:Number):Number 计算当前点和目标点(x,y)的距离。 Point normalize():void 标准化向量。 Point recover():void 回收到对象池,方便复用 Poi...
来源: Laya2.0_api 发布时间: 20190513
... FillTextCmdPublic Constants ConstantDefined By ID : String = FillText[static] FillTextCmdProperty Detailcolorpropertycolor:String 定义文本颜色,比如"#ff0000"。 Implementation public function get color():String public function set color(value:String):voidfontproperty fo...
来源: Laya2.0_api 发布时间: 20190513
...象池 AlphaCmdPublic Constants ConstantDefined By ID : String = Alpha[static] AlphaCmdProperty Detailalphapropertypublic var alpha:Number 透明度 Method Detailrecover()method public function recover():void 回收到对象池 Constant DetailIDConstantpublic static const ID:String = AlphaMon Ma...
来源: Laya2.0_api 发布时间: 20190513
...的字符串。PointPublic Constants ConstantDefined By TEMP : Point[static] 临时使用的公用对象。PointProperty Detailxpropertypublic var x:Number该点的水平坐标。yproperty public var y:Number该点的垂直坐标。Constructor DetailPoint()Constructorpublic function Point(x:Num...
来源: laya_api 发布时间: 20170929
...log("当前选择的索引:" + index); } } class Item extends Laya.Box { static WID: number = 373; static HEI: number = 85; private img: Laya.Image; constructor() { super(); this.size(Item.WID, Item.HEI); this.img = new Laya.Image(); this.addChild(this.img); } setImg(src: string): void { this.img....
来源: Laya3.0_文档 发布时间: 20240910
... public var spSize:Size; public static var PROGRESS_TIMER_TYPE_RADIAL:String = "PROGRESS_TIMER_TYPE_RADIAL" public static var PROGRESS_TIMER_TYPE_RECT:String = "PROGRESS_TIMER_TYPE_RECT" public function ProcessTimer(size:Size) ...
来源: Laya_社区 发布时间: 20180404
...; import WebGL = Laya.WebGL; export class Interaction_CustomEvent { public static ROTATE: string = "rotate"; private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.a...
来源: Laya_示例 发布时间: 20250312
....text = Stat.FPS.toString(); } } } class Character extends Sprite { public static WIDTH: number = 110; public static HEIGHT: number = 110; private speed: number = 5; private bloodBar: Sprite; private animation: Animation; private nameLabel: Text; constructor(images: Array) { super(); this.createAnim...
来源: Laya_示例 发布时间: 20250312
...Quaternion add(left:*, right:ConchQuaternion, out:ConchQuaternion):void[static] 计算两个四元数的和 ConchQuaternion clone():* 克隆。 ConchQuaternion cloneTo(destObject:*):void 克隆。 ConchQuaternion createFromAxisAngle(axis:ConchVector3, rad:Number, out:ConchQuaternion):voi...
来源: Laya2.0_api 发布时间: 20190513
...信 宇智波 旋 赞同来自: /**返回指定对象的完全限定名 */ static getQualifiedClassName(value):string { var type = typeof value; if (!value || (type != "object" && !value.prototype)) { return type; } var prototype = value.prototype ? value.prototype : Object.getPrototypeOf(va...
来源: Laya_社区 发布时间: 20170317