大约有 612 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)
... var a:int = this.byte.getByte(); var b:int = this.byte.getInt16(); var c:Number = this.byte.getFloat32(); var d:String = this.byte.getString(); var e:String = this.byte.getUTFString(); } ```
来源: Laya2.0_文档 发布时间: 20210715
...ath.round(desginHeight * scaleY); var minScale:Number= Math.min(scaleX, scaleY); _width=desginWidth/minScale*scaleX; _height=desginHeight/minScale*scaleY; scaleX = scaleY =minScale; ...
来源: Laya_社区 发布时间: 20170222
...虑尺寸的平方 OrientedBoundBox intersectsRay(ray:Ray, out:Vector3):Number 该包围盒是否与空间中另一射线相交 OrientedBoundBox merge(a:OrientedBoundBox, b:OrientedBoundBox, noMatrixScaleApplied:Boolean):void[static] 把一个Obb类型的包围盒b合入另一Obb型包围盒a ...
来源: laya_api 发布时间: 20170929
...动画最后一帧的索引值, */ private aniUrls(aniName:string,length:number):any{ var urls:any = []; for(var i:number = 0;i<length;i++){ //动画资源路径要和动画图集打包前的资源命名对应起来 urls.push("role/"+aniName+i+".png"); } return urls; } } new AtlasAniDemo(); ``` ...
来源: Laya2.0_文档 发布时间: 20210715
...虑尺寸的平方 OrientedBoundBox intersectsRay(ray:Ray, out:Vector3):Number 该包围盒是否与空间中另一射线相交 OrientedBoundBox merge(a:OrientedBoundBox, b:OrientedBoundBox, noMatrixScaleApplied:Boolean):void[static] 把一个Obb类型的包围盒b合入另一Obb型包围盒a ...
来源: Laya2.0_api 发布时间: 20190513
.../**粒子持续时间(单位:秒)*/ public var duration:Number = 1; 你在ide 写一下点进去看源码就知道了 2018-03-03 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 138*****826 相关问题 2.0一不小心删...
来源: Laya_社区 发布时间: 20180303
...nsform.rotate(new Vector3(Math.PI/2*3,0,0)); var temp:Number = width; width = height; height = temp; // 将锚点移回zho中心 cube.transform.pivot = new Vector3( cube.transform.pivot.x + 0, ...
来源: Laya_社区 发布时间: 20190427
...处于活动状态 (true) 还是非活动状态 (false)。 Event stageX : Number[read-only] 鼠标在 Stage 上的 X 轴坐标Event stageY : Number[read-only] 鼠标在 Stage 上的 Y 轴坐标Event target : Sprite 事件目标触发对象。Event touches : Array[read-only] 触摸点列表。 Ev...
来源: Laya2.0_api 发布时间: 20190513
...ntext || Laya.Browser.window.webkitAudioContext)(); //Stereo var channels: number = 2; // Create an empty two-second stereo buffer at the // sample rate of the AudioContext var frameCount: number = audioCtx.sampleRate * 2.0; var myArrayBuffer: any = audioCtx.createBuffer(2, frameCount, audioCtx.samp...
来源: Laya3.0_文档 发布时间: 20251010
...ule/shape/BaseShape.ts:26 是否启用。 randomDirection randomDirection: number = 0 Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:28 随机方向。 shapeType shapeType: ParticleSystemShapeType Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:31 粒子类型 ...
来源: Laya3.0_api 发布时间: 20231115