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

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

331. laya.ui.TipManager [ 81%]

...轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node  offsetX : int = 10[static] TipManager  offsetY : int = 15[static] TipManager optimizeScrollRect : Boolean 指定是否对使用了 scrollRect 的显示对象进行优化处理。...

来源: laya_api 发布时间: 20170929

332. 多种碰撞器形状(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 81%]

...了。 ![](img/2.png)(图2) ```typescript //随机生成坐标值 var sX:int = Math.random() * 0.75 + 0.25; var sY:int = Math.random() * 0.75 + 0.25; var sZ:int = Math.random() * 0.75 + 0.25; //创建盒型MeshSprite3D var box:MeshSprite3D = scene.addChild(new MeshSprite3D(PrimitiveMesh.createBox(sX...

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

333. laya.d3.math.Vector2 [ 81%]

...Elements:Float32Array = null):voidVector2  fromArray(array:Array, offset:int = 0):void 从Array数组拷贝值。 Vector2  normalize(s:Vector2, out:Vector2):void[static] 归一化二维向量。 Vector2  rewriteNumProperty(proto:*, name:String, index:int):void[static] Vector2  scalarLength(a...

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

334. list里面可以加入多个view吗? [ 81%]

... list.selectHandler=new Handler(this,onSelect); var data:Array=; for(var i:int=0;i<100;i++) { data.push({src:"comp/bg.png",txt:"索引:"+i}); } list.array=data; } private function onSelect(index:int):void { trace("你点击的当前索引是:"+index); } private function onRender(cell:Item,ind...

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

335. laya.ui.AdvImage [ 81%]

...轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite...

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

336. laya.events.KeyBoardManager [ 81%]

...为trueKeyBoardManagerPublic Methods  MethodDefined By  hasKeyDown(key:int):Boolean[static] 返回指定键是否被按下。 KeyBoardManagerProperty Detailenabledpropertypublic static var enabled:Boolean = true是否开启键盘事件,默认为trueMethod DetailhasKeyDown()method public static ...

来源: laya_api 发布时间: 20170929

337. laya.events.KeyBoardManager [ 81%]

...为trueKeyBoardManagerPublic Methods  MethodDefined By  hasKeyDown(key:int):Boolean[static] 返回指定键是否被按下。 KeyBoardManagerProperty Detailenabledpropertypublic static var enabled:Boolean = true是否开启键盘事件,默认为trueMethod DetailhasKeyDown()method public static ...

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

338. UI-Input [ 81%]

...er; import laya.webgl.WebGL; public class UI_Input { private const SPACING:int = 100; private const INPUT_WIDTH:int = 300; private const INPUT_HEIGHT:int = 50; private const Y_OFFSET:int = 50; private var skins:Array; public function UI_Input() { // 不支持WebGL时自动切换至Canvas Laya.init(8...

来源: Laya_示例 发布时间: 20251130

339. laya.ui.LayoutBox [ 81%]

...轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node optimizeScrollRect : Boolean 指定是否对使用了 scrollRect 的显示对象进行优化处理。默认为false(不优化)。 当值为ture时:将对此对象使用了scrollRect ...

来源: laya_api 发布时间: 20170929

340. laya.d3.shader.ShaderPass [ 81%]

... MethodDefined By  _compileToTree(parent:ShaderNode, lines:Array, start:int, includefiles:Array, defs:Object):void[override] ShaderPassProperty DetailrenderStatepropertyrenderState:RenderState  [read-only] 获取渲染状态。 Implementation     public function get renderState():RenderStat...

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