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

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

1841. VScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 70%]

...gl.WebGL; public class UI_ScrollBar { /***垂直滚动条资源**/ private var skins:Array=["../../../../res/ui/vscroll.png", "../../../../res/ui/vscroll$bar.png", "../../../../res/ui/vscroll$down.png", "../../../../res/ui/vscroll$up.png"]; /***提示信息文本框**/ private var promptText:Text; /...

来源: Laya2.0_文档 发布时间: 20210715

1842. HScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 70%]

...gl.WebGL; public class UI_ScrollBar { /***水平滚动条资源**/ private var skins:Array=["../../../../res/ui/hscroll.png", "../../../../res/ui/hscroll$bar.png", "../../../../res/ui/hscroll$down.png", "../../../../res/ui/hscroll$up.png"]; /***提示信息文本框**/ private var promptText:Text; /...

来源: Laya2.0_文档 发布时间: 20210714

1843. 在画布上播放video问题的思路 [ 70%]

...代码是将单独的画布绘制到舞台的示例,你可以参考下:var htmlCanvas:HTMLCanvas = HTMLCanvas.create(HTMLCanvas.TYPE2D); htmlCanvas.source.width = 100; htmlCanvas.source.height = 100; htmlCanvas.size(100, 100); // 在单独的画布上绘制矩形。 htmlCanvas.getContext("2d").f...

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

1844. laya.d3.core.particleShuriKen.module.shape.SphereShape [ 70%]

...dBox):void[override] SphereShapeProperty DetailemitFromShellpropertypublic var emitFromShell:Boolean从外壳发射。radiusproperty public var radius:Number发射器半径。Constructor DetailSphereShape()Constructorpublic function SphereShape() 创建一个 SphereShape 实例。 Method Detail_get...

来源: laya_api 发布时间: 20170929

1845. Laya2.7.0 beta cannon bug [ 70%]

...nyazhi 赞同来自: get angularVelocity() { if (this._btColliderObject) { var phtqua = this._btColliderObject.angularVelocity; this._angularVelocity.setValue(phtqua.x, phtqua.y, phtqua.z); } return this._angularVelocity; } get totalForce() { if (this._btColliderObject) { var btTotalForce = this.btC...

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

1846. laya.d3.core.particleShuriKen.module.shape.SphereShape [ 70%]

...dBox):void[override] SphereShapeProperty DetailemitFromShellpropertypublic var emitFromShell:Boolean从外壳发射。radiusproperty public var radius:Number发射器半径。Constructor DetailSphereShape()Constructorpublic function SphereShape() 创建一个 SphereShape 实例。 Method Detail_get...

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

1847. 2.13版本 2D物理碰撞OnTriggerEnter 第三个参数 contact.getHitInfo() 报错 [ 70%]

...指向是 ??   contact.getHitInfo = function () {                 var manifold = new this.box2d.b2WorldManifold();                 this.GetWorldManifold(manifold);                 var p = manifold.points[0];                 p.x *= Physics.PIXEL_RATIO;           ...

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

1848. LayaAir下TTF字体的使用方式? [ 70%]

...GL; public class TTFTest { public function TTFTest() { Laya.init(550,400); var sp:Image=new Image(); sp.loadImage("2.png"); Laya.stage.addChild(sp); var text:Text=new Text(); text.fontSize=40; text.color="#FF00FF"; text.text="哈哈哈哈哈哈哈哈哈哈哈哈哈哈"; text.font="hu" text.pos(600,6...

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

1849. laya.d3.core.particleShuriKen.module.shape.HemisphereShape [ 70%]

...):void[override] HemisphereShapeProperty DetailemitFromShellpropertypublic var emitFromShell:Boolean从外壳发射。radiusproperty public var radius:Number发射器半径。Constructor DetailHemisphereShape()Constructorpublic function HemisphereShape() 创建一个 HemisphereShape 实例。 Metho...

来源: laya_api 发布时间: 20170929

1850. add PhysicsCollider组件的时候之间运行报错【2.0beta5.1] [ 70%]

add PhysicsCollider组件的时候之间运行报错【2.0beta5.1] var boxMesh:BoxMesh = new BoxMesh(2,2,2); //创建模型显示对象 var box3D:MeshSprite3D = new MeshSprite3D(boxMesh); box3D.addComponent(PhysicsCollider); scene.addChild(box3D); 附件 : --> 2019-01-04 添加评论 免费帖 --> ...

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