大约有 3,979 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0069 秒)
Laya_社区(2827) Laya2.0_文档(369) Laya2.0_api(225) laya_api(169) Laya_示例(157) Laya2.0_示例(117) Laya3.0_api(62) Laya3.0_文档(53)
...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
...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
...代码是将单独的画布绘制到舞台的示例,你可以参考下: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
...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
...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
...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
...指向是 ?? contact.getHitInfo = function () { var manifold = new this.box2d.b2WorldManifold(); this.GetWorldManifold(manifold); var p = manifold.points[0]; p.x *= Physics.PIXEL_RATIO; ...
来源: Laya_社区 发布时间: 20220819
...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
...):void[override] HemisphereShapeProperty DetailemitFromShellpropertypublic var emitFromShell:Boolean从外壳发射。radiusproperty public var radius:Number发射器半径。Constructor DetailHemisphereShape()Constructorpublic function HemisphereShape() 创建一个 HemisphereShape 实例。 Metho...
来源: laya_api 发布时间: 20170929
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