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

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

581. 【简单跑酷--JS版】---Lv.6 终篇 [ 78%]

...//背景 this.bg = null; //进度条 this.bar = null; //最小值 this.MIN_VALUE = 0; //最大值 this.MAX_VALUE = 100; //值 this.value = 100; Hp.__super.call(this); this.init(type); } //能量类型 Hp.HP_TYPE_ENERGY = "hp_type_energy"; //速度类型 Hp.HP_TYPE_SPEED = "hp_type_speed"; //Hp Laya....

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

582. socket大型项目回调 [ 78%]

... } return msg; } static encodeTag(type:number, tag:number):Laya.Byte { var value:number = this.TYPES[type]!=undefined ? this.TYPES[type] : 2; return this.encodeUInt32((tag << 3) | value); } static getHead(buffer:Laya.Byte):any { var tag:number = this.decodeUInt32(buffer); return { type: tag &a...

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

583. 设置fontSize的时候没做类型转换 [ 78%]

..._getset(0,__proto,'fontSize',function(){ return this._fontSize; },function(value){ if (this._fontSize !=value){ this._fontSize=value; this.isChanged=true; } }); 如果设置fontSize="30",没有做类型转换,后面所有通过fontSize参与的加法运算都会变成字符串拼接运算。建...

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

584. laya.d3.core.Layer [ 77%]

...  public function get active():Boolean    public function set active(value:Boolean):voidactiveLayersproperty activeLayers:int 取Layer激活层。 Implementation     public static function get activeLayers():int    public static function set activeLayers(value:int):voidcurrentCreation...

来源: laya_api 发布时间: 20170929

585. laya.display.Text [ 77%]

...   public function get align():String    public function set align(value:String):voidbgColorproperty bgColor:String 文本背景颜色,以字符串表示。 Implementation     public function get bgColor():String    public function set bgColor(value:String):voidboldproperty bold:B...

来源: laya_api 发布时间: 20170929

586. laya.resource.NativeContext_API3.0 [ 77%]

...:154 Parameters target: RenderTexture2D Returns void asBitmap set asBitmap(value: boolean): void Defined in laya/resource/NativeContext.ts:842 Parameters value: boolean Returns void fillStyle get fillStyle(): any set fillStyle(value: any): void Defined in laya/resource/NativeContext.ts:240 Returns a...

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

587. laya.d3.math.Quaternion_API3.0 [ 77%]

...vert length lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 createFromYawPitchRoll dot forwardLookAt invert lerp lookAt multiply rotationLookAt rotationMatrix slerp Constructors constructor new Quaternion(x?: number, y?: number, z?: nu...

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

588. laya.d3.renderobjs.nativeobj.NativeIndexBuffer3D_API3.0 [ 77%]

...r3D 实例。 Parameters indexType: IndexFormat indexCount: number Default value bufferUsage: BufferUsage = BufferUsage.Static VertexBuffer3D用途类型。 Default value canRead: boolean = false 是否可读。 Returns NativeIndexBuffer3D Properties _buffer _buffer: Float32Array | Uint16Array | Uin...

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

589. LayaAir中字符串转xml [ 77%]

... 人 yurong3000 • 2017-02-21 10:55 public static function stringToXMLDom(value:String):XmlDom { var xml:XmlDom; /*[IF-SCRIPT-BEGIN] if(document.all) {   xml=new ActiveXObject("Microsoft.XMLDOM");   xml.loadXML(value); } else { xml = new DOMParser().parseFromString(value, "te...

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

590. laya.d3.physics.constraints.ConstraintComponent [ 77%]

...ulseThreshold():Number    public function set breakingImpulseThreshold(value:Number):voidconnectedBodyproperty connectedBody:Rigidbody3D 获取已连接的刚体。 Implementation     public function get connectedBody():Rigidbody3D    public function set connectedBody(value:Rigidbody3D)...

来源: Laya2.0_api 发布时间: 20190513