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

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

261. laya.display.Scene [ 50%]

...c Methods Show Inherited Public Methods MethodDefined By  Scene()Scene addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

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

262. laya.display.Stage_API3.0 [ 50%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event exitFullscreen frameLoop frameO...

来源: Laya3.0_api 发布时间: 20231115

263. laya.device.media.Video [ 49%]

...ethods MethodDefined By  Video(width:int = 320, height:int = 240)Video addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

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

264. laya.display.Text [ 49%]

...ethods MethodDefined By  Text() 创建一个新的 Text 实例。 Text addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node  changeText(text:String):void ...

来源: laya_api 发布时间: 20170929

265. laya.d3.core.scene.Scene3D [ 49%]

...ect = null, constructParams:Array = null):Scene3D[static] private Scene3D addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

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

266. 在模型有刚体的情况下,怎么才能让模型只围绕一个轴进行旋转 [ 49%]

...; { this.car = sp.getChildAt(0).getChildAt(0) as Laya.Sprite3D; this.scene.addChild(this.car); this.rig = (this.car.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D) })); 源 • 2019-01-11 20:47 @叶子:不算。这样只是给了刚体一个索引而已 叶子 • 2019-01-11 20:54 @源:额,我...

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

267. laya.d3.core.scene.Scene3D_API3.0 [ 49%]

...h x y zOrder _updateMark Methods _initialize _processActive _setCullCamera addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentP...

来源: Laya3.0_api 发布时间: 20231115

268. laya.ui.Button_API3.0 [ 49%]

...ickButton,[button]);//设置 button 的点击事件处理器。 Laya.stage.addChild(button);//将此 button 对象添加到显示列表。 } private function onClickButton(button:Button):void { trace("按钮button被点击了!"); } } } example Laya.init(640, 800);//设置游戏画布宽高、渲...

来源: Laya3.0_api 发布时间: 20231115

269. laya.ui.CheckBox_API3.0 [ 49%]

...lick, [checkBox]);//设置 checkBox 的点击事件处理器。 Laya.stage.addChild(checkBox);//将此 checkBox 对象添加到显示列表。 } private function onClick(checkBox:CheckBox):void { trace("输出选中状态: checkBox.selected = " + checkBox.selected); } } } example Laya.init(640, 800)...

来源: Laya3.0_api 发布时间: 20231115

270. laya.ui.ScrollBar [ 49%]

...lBar(skin:String = null) 创建一个新的 ScrollBar 实例。 ScrollBar addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:A...

来源: laya_api 发布时间: 20170929