大约有 3,979 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0090 秒)
Laya_社区(2827) Laya2.0_文档(369) Laya2.0_api(225) laya_api(169) Laya_示例(157) Laya2.0_示例(117) Laya3.0_api(62) Laya3.0_文档(53)
...public function set clip(value:AnimationClip):voidclipEndproperty public var clipEnd:Number = 1.0动作播放结束时间。clipStartproperty public var clipStart:Number = 0.0动作播放起始时间。nameproperty public var name:String名称。speedproperty public var speed:Number = 1.0动画...
来源: Laya2.0_api 发布时间: 20190513
...tage; public class LayaUISample { private var skin:String = "https://layaair.ldc.layabox.co ... 3B%3B private var aniPath:String = "https://layaair.ldc.layabox.co ... 3B%3B public function LayaUISample() { //初...
来源: Laya_社区 发布时间: 20180725
...止发射粒子 EmitterBaseProperty Detail_emissionRatepropertyprotected var _emissionRate:Number = 60 粒子发射速率 _emissionTimeproperty protected var _emissionTime:Number = 0 当前剩余发射时间 _frameTimeproperty protected var _frameTime:Number = 0 积累的帧时间 emissionRateprop...
来源: laya_api 发布时间: 20170929
...L; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { var vGap: number = 200; this.rotateTimeBasedText = this.createText("基于时间旋转", Laya.stage.width / 2, (Laya.stage.height - vGap) / 2); this.rotateFrameRateBasedText = this.createText("基于帧频旋转", this.rotate...
来源: Laya2.0_示例 发布时间: 20250223
...载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //添加照相机 var camera = (scene.addChild(new Laya.Camera(0, 0.1, 100))); camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3...
来源: Laya_社区 发布时间: 20201021
...h 的fillStyle如何使用 createPattern 填充图片 例如js的写法: var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); var img=document.getElementById("lamp"); var pat=ctx.createPattern(img,"repeat"); ctx.rect(0,0,150,100); ctx.fillStyle=pat; ctx.fill(); 2018-05-14 添加...
来源: Laya_社区 发布时间: 20180514
...ler):void private SoundChannelProperty DetailcompleteHandlerpropertypublic var completeHandler:Handler 播放完成处理器。 durationproperty duration:Number [read-only] 获取总时间,单位是秒。 Implementation public function get duration():NumberisStoppedproperty public var...
来源: Laya2.0_api 发布时间: 20190513
...设置触发器的方法如下: ```typescript //创建盒型MeshSprite3D var box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(sX, sY, sZ))) as Laya.MeshSprite3D; //创建物理碰撞器 var staticCollider:Laya.PhysicsCollider = box.addComponent(Laya.PhysicsCollider); //标...
来源: Laya2.0_文档 发布时间: 20210714
...现在显示正常了。 __proto.parseImgForBuffer = function(url,data){ var _this = this; var image; var onload = function () { // image.onload = null; // image.onerror = null; // var data = Laya.Texture2D._parse(image); // data._url = "sdfasf" // _this.onLoaded(data); img=HTMLImage.create(image.wi...
来源: Laya_社区 发布时间: 20210809
...eenMode = Laya.Stage.SCREEN_NONE; //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene()); //添加照相机 var camera = (scene.addChild(new Laya.Camera(0, 0.1, 100))) as Laya.Camera; camera.transform.translate(new Laya.Vector3(...
来源: Laya_社区 发布时间: 20180119