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

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

91. laya.display.cmd.FillTextCmd [ 67%]

... 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

92. laya.display.cmd.AlphaCmd [ 67%]

...象池 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

93. laya.maths.Point [ 66%]

...的字符串。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

94. 列表组件 · LayaAir3.0文档 · LAYABOX [ 66%]

...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_文档 发布时间: 20230927

95. 扇形遮罩画不全画了一个很奇怪的形状但是矩形的就没问题。显示效果如下:版本号1.7.10 [ 64%]

...         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

96. 鼠标交互-自定义事件 [ 63%]

...; 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_示例 发布时间: 20240930

97. 性能测试-卡通人物2 [ 62%]

....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_示例 发布时间: 20240930

98. laya.d3.math.Native.ConchQuaternion [ 62%]

...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

99. 怎么获取完全限定类名,就像as的getQualifiedClassName [ 62%]

...信 宇智波 旋 赞同来自: /**返回指定对象的完全限定名 */ 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

100. laya.d3.core.light.LightSprite [ 61%]

...中显示。Node id : int[read-only] 获取唯一标识ID。 Sprite3D isStatic : Boolean是否静态,静态包含一系列的静态处理。Sprite3D layer : Layer 获取蒙版。 Sprite3D  lightType : int[read-only] 获取灯光的类型。 LightSprite loaded : Boolean[read-only] 获取是否...

来源: laya_api 发布时间: 20170929